bondscell_results`$120291d7-b4c3-47a8-8c10-99382d04df0cqueued¤logsrunning¦outputbodyV

숙제

초항이 2이고 공차가 3인 수열을 점화식의 형태로 정의하여 보라. 1항부터 10항지의 출력결과를 시각화하라.

hint

(1) $a_1=2$

(2) $a_n= a_{n-1}+3$

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$120291d7-b4c3-47a8-8c10-99382d04df0cdepends_on_disabled_cells§runtimeڵpublished_object_keysdepends_on_skipped_cells§errored$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49queued¤logsrunning¦outputbodyN
파이프연산자와 브로드캐스트
mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$d6e31001-5eec-4acb-afd3-c8bb7b822038queued¤logsrunning¦outputbody5mimetext/plainrootassigneelast_run_timestampA$PFpersist_js_state·has_pluto_hook_features§cell_id$d6e31001-5eec-4acb-afd3-c8bb7b822038depends_on_disabled_cells§runtimeM}published_object_keysdepends_on_skipped_cells§errored$e00f7cf7-23a9-44c3-b67d-d934f0b32c5aqueued¤logsrunning¦outputbody1mimetext/plainrootassigneelast_run_timestampA$PFYpersist_js_state·has_pluto_hook_features§cell_id$e00f7cf7-23a9-44c3-b67d-d934f0b32c5adepends_on_disabled_cells§runtimePpublished_object_keysdepends_on_skipped_cells§errored$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839queued¤logsrunning¦outputbody;

(학생풀이2)

mimetext/htmlrootassigneelast_run_timestampA$7 0jpersist_js_state·has_pluto_hook_features§cell_id$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$de6cbedf-99d8-44d0-83ea-818a0a43e47aqueued¤logsrunning¦outputbody0mimetext/plainrootassigneelast_run_timestampA$KWpersist_js_state·has_pluto_hook_features§cell_id$de6cbedf-99d8-44d0-83ea-818a0a43e47adepends_on_disabled_cells§runtime&published_object_keysdepends_on_skipped_cells§errored$d1353080-c111-459e-818e-6e29ae69a714queued¤logsrunning¦outputbody"f (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$KNpersist_js_state·has_pluto_hook_features§cell_id$d1353080-c111-459e-818e-6e29ae69a714depends_on_disabled_cells§runtime፵published_object_keysdepends_on_skipped_cells§errored$d7125ccc-82d6-4b30-a275-68e08f2ddef2queued¤logsrunning¦outputbody٪

이걸 왜 하는가? 일반적인 수열과 다르게 일반항형태(=함수의형태)로 표현하기 어려운 수열

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$d7125ccc-82d6-4b30-a275-68e08f2ddef2depends_on_disabled_cells§runtimeװpublished_object_keysdepends_on_skipped_cells§errored$260a4935-7b4e-4e80-8df2-b85e367fd301queued¤logsrunning¦outputbodyA

[예비학습2] if문

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$260a4935-7b4e-4e80-8df2-b85e367fd301depends_on_disabled_cells§runtimeXpublished_object_keysdepends_on_skipped_cells§errored$13def20a-7ba6-4c5b-abbd-550d794df1fcqueued¤logsrunning¦outputbodyU

- 원래는 이렇게 써야한다..

mimetext/htmlrootassigneelast_run_timestampA$7 GZpersist_js_state·has_pluto_hook_features§cell_id$13def20a-7ba6-4c5b-abbd-550d794df1fcdepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$184926cd-3b17-4fd1-b35f-336f451cb142queued¤logsrunning¦outputbody6mimetext/plainrootassigneelast_run_timestampA$O:persist_js_state·has_pluto_hook_features§cell_id$184926cd-3b17-4fd1-b35f-336f451cb142depends_on_disabled_cells§runtime+˵published_object_keysdepends_on_skipped_cells§errored$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94queued¤logsrunning¦outputbody0.25mimetext/plainrootassigneelast_run_timestampA$O|ݰpersist_js_state·has_pluto_hook_features§cell_id$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94depends_on_disabled_cells§runtimeBnpublished_object_keysdepends_on_skipped_cells§errored$cbb74ed1-7c47-453f-8ba0-e97456322eb0queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$NcLpersist_js_state·has_pluto_hook_features§cell_id$cbb74ed1-7c47-453f-8ba0-e97456322eb0depends_on_disabled_cells§runtime gpublished_object_keysdepends_on_skipped_cells§errored$a97b3d06-94fb-47d6-8096-7cd5f2778b88queued¤logsrunning¦outputbody%+ (generic function with 265 methods)mimetext/plainrootassigneemyaddlast_run_timestampA$O_|persist_js_state·has_pluto_hook_features§cell_id$a97b3d06-94fb-47d6-8096-7cd5f2778b88depends_on_disabled_cells§runtime-published_object_keysdepends_on_skipped_cells§errored$2020a56c-563a-435a-a76d-478ecb16d8abqueued¤logsrunning¦outputbody103mimetext/plainrootassigneelast_run_timestampA$K$persist_js_state·has_pluto_hook_features§cell_id$2020a56c-563a-435a-a76d-478ecb16d8abdepends_on_disabled_cells§runtime,Mpublished_object_keysdepends_on_skipped_cells§errored$6c7458e2-f37f-4170-bc5f-949aecd57ff9queued¤logsrunning¦outputbodyI

! 붙여서 plot 겹쳐 그리기

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$6c7458e2-f37f-4170-bc5f-949aecd57ff9depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$3a9554c4-f9d9-41a3-b6bf-6aff5966b922queued¤logsrunning¦outputbodye

연산자는 연산자 앞에 . 붙이기 아래 루트의 경우

mimetext/htmlrootassigneelast_run_timestampA$7 4persist_js_state·has_pluto_hook_features§cell_id$3a9554c4-f9d9-41a3-b6bf-6aff5966b922depends_on_disabled_cells§runtimeepublished_object_keysdepends_on_skipped_cells§errored$3fd41cb7-1b7e-4a59-80d0-905445333701queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$NT"persist_js_state·has_pluto_hook_features§cell_id$3fd41cb7-1b7e-4a59-80d0-905445333701depends_on_disabled_cells§runtime$Ppublished_object_keysdepends_on_skipped_cells§errored$f0b9e3eb-8df2-48b1-a5dd-23216a69912fqueued¤logsrunning¦outputbodyX

예제: 피보나치수열을 정의하여 보자.

mimetext/htmlrootassigneelast_run_timestampA$7 sKpersist_js_state·has_pluto_hook_features§cell_id$f0b9e3eb-8df2-48b1-a5dd-23216a69912fdepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$bf5d5442-34fc-4a9a-9efc-9a50b891511bqueued¤logsrunning¦outputbodyprefixInt64elements4text/plain5text/plaintypeArrayprefix_shortobjectida1099e7ffeb1b550mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$N[/persist_js_state·has_pluto_hook_features§cell_id$bf5d5442-34fc-4a9a-9efc-9a50b891511bdepends_on_disabled_cells§runtime{/published_object_keysdepends_on_skipped_cells§errored$30d0741c-8e74-4d38-908c-e0bcfe4fd5caqueued¤logsrunning¦outputbodyK

[예비학습] 변수의 범위

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$30d0741c-8e74-4d38-908c-e0bcfe4fd5cadepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$ba005ee2-b267-4037-a4c1-0bd3e783104equeued¤logsrunning¦outputbodymsgMethodError: no method matching -(::Vector{Float64}, ::Int64) For element-wise subtraction, use broadcasting with dot syntax: array .- scalar Closest candidates are:  -(::T, ::T) where T<:Union{Int128, Int16, Int32, Int64, Int8, UInt128, UInt16, UInt32, UInt64, UInt8} at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/int.jl:86  -(::T, ::Integer) where T<:AbstractChar at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/char.jl:227  -(::LinearAlgebra.UniformScaling, ::Number) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/stdlib/v1.7/LinearAlgebra/src/uniformscaling.jl:147  ...stacktracecall_shortE(::var"#39#41"{typeof(|>), typeof(^), typeof(-)})(x::Vector{Float64})inlined£url٩https://github.com/seoyeonc/julia/tree/a995f5f40082a27d5084d4f15756339f2b53b527//2022-06-26-Statistical Computing-3월17일.jl#==#ba005ee2-b267-4037-a4c1-0bd3e783104e#L1paths/home/runner/work/julia/julia/2022-06-26-Statistical Computing-3월17일.jl#==#ba005ee2-b267-4037-a4c1-0bd3e783104esource_packagecallE(::var"#39#41"{typeof(|>), typeof(^), typeof(-)})(x::Vector{Float64})linfo_typeCore.MethodInstancelinefileU2022-06-26-Statistical Computing-3월17일.jl#==#ba005ee2-b267-4037-a4c1-0bd3e783104efunc#39parent_modulefrom_cŒcall_shortH|>(x::Vector{Float64}, f::var"#39#41"{typeof(|>), typeof(^), typeof(-)})inlined£urlghttps://github.com/JuliaLang/julia/tree/742b9abb4dd4621b667ec5bb3434b8b3602f96fd/base/operators.jl#L966path./operators.jlsource_packagecallH|>(x::Vector{Float64}, f::var"#39#41"{typeof(|>), typeof(^), typeof(-)})linfo_typeCore.MethodInstancelineƤfileoperators.jlfunc|>parent_modulefrom_cŒcall_shorttop-level scopeinlinedãurlpaths/home/runner/work/julia/julia/2022-06-26-Statistical Computing-3월17일.jl#==#ba005ee2-b267-4037-a4c1-0bd3e783104esource_packagecalltop-level scopelinfo_typeNothinglinefileU2022-06-26-Statistical Computing-3월17일.jl#==#ba005ee2-b267-4037-a4c1-0bd3e783104efunc##function_wrapped_cell#475parent_modulefrom_c¤mime'application/vnd.pluto.stacktrace+objectrootassigneelast_run_timestampA$Oᄅpersist_js_state·has_pluto_hook_features§cell_id$ba005ee2-b267-4037-a4c1-0bd3e783104edepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$8c43a1e1-242f-465c-af55-ea068ead309dqueued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.707107text/plain1.0text/plain1.22474text/plain1.41421text/plaintypeArrayprefix_shortobjectid920ae03a2aeef89dmime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P2persist_js_state·has_pluto_hook_features§cell_id$8c43a1e1-242f-465c-af55-ea068ead309ddepends_on_disabled_cells§runtimeFpublished_object_keysdepends_on_skipped_cells§errored$776c7951-82ed-48be-a4e7-440244f10009queued¤logsrunning¦outputbody0mimetext/plainrootassigneelast_run_timestampA$Opersist_js_state·has_pluto_hook_features§cell_id$776c7951-82ed-48be-a4e7-440244f10009depends_on_disabled_cells§runtime1wpublished_object_keysdepends_on_skipped_cells§errored$1b88cbac-33a9-48a3-afa6-af9fd2d56a3cqueued¤logsrunning¦outputbody4mimetext/plainrootassigneelast_run_timestampA$O疰persist_js_state·has_pluto_hook_features§cell_id$1b88cbac-33a9-48a3-afa6-af9fd2d56a3cdepends_on_disabled_cells§runtime-)published_object_keysdepends_on_skipped_cells§errored$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6queued¤logsrunning¦outputbodyN

(팁) 브로드캐스팅의 생략

mimetext/htmlrootassigneelast_run_timestampA$7 1persist_js_state·has_pluto_hook_features§cell_id$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6depends_on_disabled_cells§runtime׵published_object_keysdepends_on_skipped_cells§errored$c19237ce-0e98-4a20-9e64-e3fe06858578queued¤logsrunning¦outputbody$

[예비학습] 피보나치수열의 정의

(1) $a_1=a_2=1$

(2) $n\geq 3$일 경우 $a_n=a_{n-1}+a_{n-2}$

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$c19237ce-0e98-4a20-9e64-e3fe06858578depends_on_disabled_cells§runtime7published_object_keysdepends_on_skipped_cells§errored$7e90058d-a099-4016-9a61-20ae2af8f526queued¤logsrunning¦outputbodyAMain.var"#23#25"{typeof(^)}(^) ∘ Main.var"#24#26"{typeof(-)}(-)mimetext/plainrootassigneeg_leelast_run_timestampA$Npersist_js_state·has_pluto_hook_features§cell_id$7e90058d-a099-4016-9a61-20ae2af8f526depends_on_disabled_cells§runtimeupublished_object_keysdepends_on_skipped_cells§errored$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80queued¤logsrunning¦outputbodyprefixFloat64elements0.666367text/plain0.969551text/plain1.0text/plain0.969551text/plain0.666367text/plaintypeArrayprefix_shortobjectidd1a802f1aa8c1913mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P(1]persist_js_state·has_pluto_hook_features§cell_id$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80depends_on_disabled_cells§runtime†published_object_keysdepends_on_skipped_cells§errored$9beafe50-2ce1-4626-91fb-b5b1325f0b1cqueued¤logsrunning¦outputbodymimetext/plainrootassigneelast_run_timestampA$JWpersist_js_state·has_pluto_hook_features§cell_id$9beafe50-2ce1-4626-91fb-b5b1325f0b1cdepends_on_disabled_cells§runtime59published_object_keysdepends_on_skipped_cells§errored$931aa1c2-0186-40a6-a3f2-e8e505682c0cqueued¤logsrunning¦outputbody0mimetext/plainrootassigneezlast_run_timestampA$J@persist_js_state·has_pluto_hook_features§cell_id$931aa1c2-0186-40a6-a3f2-e8e505682c0cdepends_on_disabled_cells§runtime*published_object_keysdepends_on_skipped_cells§errored$8d584d2a-5350-4c80-a5a5-a8423232897equeued¤logsrunning¦outputbodyvar"#1#3"() ∘ var"#2#4"()mimetext/plainrootassigneelast_run_timestampA$OCgpersist_js_state·has_pluto_hook_features§cell_id$8d584d2a-5350-4c80-a5a5-a8423232897edepends_on_disabled_cells§runtime-4published_object_keysdepends_on_skipped_cells§errored$9e571983-ccbc-432b-866c-6fb2e5945864queued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.707107text/plain1.0text/plain1.22474text/plain1.41421text/plaintypeArrayprefix_shortobjectid8dc9a399239ba81fmime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P persist_js_state·has_pluto_hook_features§cell_id$9e571983-ccbc-432b-866c-6fb2e5945864depends_on_disabled_cells§runtimey>published_object_keysdepends_on_skipped_cells§errored$ea993fd5-988a-4e5d-b226-1be12df9d0e9queued¤logsrunning¦outputbodyprefixFloat64elements1.0text/plain0.25text/plain0.0text/plain0.25text/plain1.0text/plaintypeArrayprefix_shortobjectidfc76f9b96669aa8emime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P!#!persist_js_state·has_pluto_hook_features§cell_id$ea993fd5-988a-4e5d-b226-1be12df9d0e9depends_on_disabled_cells§runtime published_object_keysdepends_on_skipped_cells§errored$7a4c47be-e388-483f-a47f-db5e7c5a52e3queued¤logslinemsg5아님 text/plaincell_id$7a4c47be-e388-483f-a47f-db5e7c5a52e3kwargsidPlutoRunner_d1acb81efileP/home/runner/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/stdout.jlgroupstdoutlevelLogLevel(-555)running¦outputbodymimetext/plainrootassigneelast_run_timestampA$PGpersist_js_state·has_pluto_hook_features§cell_id$7a4c47be-e388-483f-a47f-db5e7c5a52e3depends_on_disabled_cells§runtime#published_object_keysdepends_on_skipped_cells§errored$7a708f2f-0a1b-46f3-89ff-8c766d8824f5queued¤logsrunning¦outputbodyprefixRealelements-99text/plain0.5text/plain9text/plain-4text/plaintypeArrayprefix_shortobjectidef3955ccbfbcbc45mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P(persist_js_state·has_pluto_hook_features§cell_id$7a708f2f-0a1b-46f3-89ff-8c766d8824f5depends_on_disabled_cells§runtime Wpublished_object_keysdepends_on_skipped_cells§errored$a8357633-10c7-4927-a996-469e0933fdf3queued¤logsrunning¦outputbody?

(풀이3의 응용)

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$a8357633-10c7-4927-a996-469e0933fdf3depends_on_disabled_cells§runtime gpublished_object_keysdepends_on_skipped_cells§errored$074402aa-dc21-48b3-8152-8eea32d783a4queued¤logsrunning¦outputbodyprefixFloat64elements1.0text/plain0.25text/plaintypeArrayprefix_shortobjectid4225aa9a5ef6f493mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$Oȣnpersist_js_state·has_pluto_hook_features§cell_id$074402aa-dc21-48b3-8152-8eea32d783a4depends_on_disabled_cells§runtime~M,published_object_keysdepends_on_skipped_cells§errored$6dbd192b-efe2-411b-8e72-8b7aa83eedf8queued¤logsrunning¦outputbodymsgdMethodError: no method matching +(::Vector{Int64}, ::Int64) For element-wise addition, use broadcasting with dot syntax: array .+ scalar Closest candidates are:  +(::Any, ::Any, ::Any, ::Any...) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/operators.jl:655  +(::T, ::T) where T<:Union{Int128, Int16, Int32, Int64, Int8, UInt128, UInt16, UInt32, UInt64, UInt8} at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/int.jl:87  +(::AbstractArray, ::StaticArrays.StaticArray) at ~/.julia/packages/StaticArrays/NQjQM/src/linalg.jl:13  ...stacktracecall_shorttop-level scopeinlinedãurlpaths/home/runner/work/julia/julia/2022-06-26-Statistical Computing-3월17일.jl#==#6dbd192b-efe2-411b-8e72-8b7aa83eedf8source_packagecalltop-level scopelinfo_typeNothinglinefileU2022-06-26-Statistical Computing-3월17일.jl#==#6dbd192b-efe2-411b-8e72-8b7aa83eedf8func##function_wrapped_cell#331parent_modulefrom_c¤mime'application/vnd.pluto.stacktrace+objectrootassigneelast_run_timestampA$NBvpersist_js_state·has_pluto_hook_features§cell_id$6dbd192b-efe2-411b-8e72-8b7aa83eedf8depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$bd051e91-1f2e-4d09-aff1-7031627243b6queued¤logsrunning¦outputbodyٗ

- 그런데 @.를 앞에 붙이면 모든 연산자, 함수는 브로드캐스팅으로 생각한다.

mimetext/htmlrootassigneelast_run_timestampA$7 ]persist_js_state·has_pluto_hook_features§cell_id$bd051e91-1f2e-4d09-aff1-7031627243b6depends_on_disabled_cells§runtimebpublished_object_keysdepends_on_skipped_cells§errored$f5f97e9c-b060-4d47-b239-7b01d4f6ea57queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$Pl]persist_js_state·has_pluto_hook_features§cell_id$f5f97e9c-b060-4d47-b239-7b01d4f6ea57depends_on_disabled_cells§runtimeSRpublished_object_keysdepends_on_skipped_cells§errored$e30f919d-4387-49e0-8202-c66e179f5c95queued¤logsrunning¦outputbody{
파이프연산자의 기본
mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$e30f919d-4387-49e0-8202-c66e179f5c95depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$f6e45891-3d89-4890-aa29-045605b7f1c5queued¤logsrunning¦outputbody5mimetext/plainrootassigneelast_run_timestampA$Oԍpersist_js_state·has_pluto_hook_features§cell_id$f6e45891-3d89-4890-aa29-045605b7f1c5depends_on_disabled_cells§runtime*ѵpublished_object_keysdepends_on_skipped_cells§errored$28c74c5b-00ea-4483-951d-5f3ee26fb894queued¤logsrunning¦outputbody,

Usings

mimetext/htmlrootassigneelast_run_timestampA$7 Wpersist_js_state·has_pluto_hook_features§cell_id$28c74c5b-00ea-4483-951d-5f3ee26fb894depends_on_disabled_cells§runtime&=published_object_keysdepends_on_skipped_cells§errored$8598e32c-4c84-4065-8d39-110185e6e9a6queued¤logsrunning¦outputbodymimetext/htmlrootassigneelast_run_timestampA$J*persist_js_state·has_pluto_hook_features§cell_id$8598e32c-4c84-4065-8d39-110185e6e9a6depends_on_disabled_cells§runtime@z׵published_object_keysdepends_on_skipped_cells§errored$0b17375a-b0e2-4c96-b685-09d972572685queued¤logsrunning¦outputbody-1.0:0.1:3.0mimetext/plainrootassigneelast_run_timestampA$Npersist_js_state·has_pluto_hook_features§cell_id$0b17375a-b0e2-4c96-b685-09d972572685depends_on_disabled_cells§runtime'published_object_keysdepends_on_skipped_cells§errored$59898c01-4cd4-4cb0-935f-17c3f15646d8queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$Oxpersist_js_state·has_pluto_hook_features§cell_id$59898c01-4cd4-4cb0-935f-17c3f15646d8depends_on_disabled_cells§runtimedpublished_object_keysdepends_on_skipped_cells§errored$c67305de-6168-4f92-9ea7-86deeffc9746queued¤logsrunning¦outputbody101mimetext/plainrootassigneelast_run_timestampA$O+0Qpersist_js_state·has_pluto_hook_features§cell_id$c67305de-6168-4f92-9ea7-86deeffc9746depends_on_disabled_cells§runtime7published_object_keysdepends_on_skipped_cells§errored$33de3890-d7d6-472c-aa98-c925c6bac8d1queued¤logsrunning¦outputbodymsgMethodError: no method matching sin(::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}) Closest candidates are:  sin(::T) where T<:Union{Float32, Float64} at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/base/special/trig.jl:29  sin(::LinearAlgebra.Hermitian{var"#s860", S} where {var"#s860"<:Complex, S<:(AbstractMatrix{<:var"#s860"})}) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/stdlib/v1.7/LinearAlgebra/src/symmetric.jl:761  sin(::Union{LinearAlgebra.Hermitian{var"#s861", S}, LinearAlgebra.Symmetric{var"#s861", S}} where {var"#s861"<:Real, S}) at /opt/hostedtoolcache/julia/1.7.3/x64/share/julia/stdlib/v1.7/LinearAlgebra/src/symmetric.jl:757  ...stacktracecall_shorttop-level scopeinlinedãurlpaths/home/runner/work/julia/julia/2022-06-26-Statistical Computing-3월17일.jl#==#33de3890-d7d6-472c-aa98-c925c6bac8d1source_packagecalltop-level scopelinfo_typeNothinglinefileU2022-06-26-Statistical Computing-3월17일.jl#==#33de3890-d7d6-472c-aa98-c925c6bac8d1func##function_wrapped_cell#445parent_modulefrom_c¤mime'application/vnd.pluto.stacktrace+objectrootassigneelast_run_timestampA$Opersist_js_state·has_pluto_hook_features§cell_id$33de3890-d7d6-472c-aa98-c925c6bac8d1depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$82a099f4-f740-4e90-99f4-c1edb3e136ebqueued¤logsrunning¦outputbody;

(학생풀이1)

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$82a099f4-f740-4e90-99f4-c1edb3e136ebdepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$37ea5718-2f38-4944-9c8a-7f07b82bdc80queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$Ns9persist_js_state·has_pluto_hook_features§cell_id$37ea5718-2f38-4944-9c8a-7f07b82bdc80depends_on_disabled_cells§runtime(fpublished_object_keysdepends_on_skipped_cells§errored$f8cff662-1add-4970-9290-4f034080af1bqueued¤logsrunning¦outputbody"h (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$Npersist_js_state·has_pluto_hook_features§cell_id$f8cff662-1add-4970-9290-4f034080af1bdepends_on_disabled_cells§runtimegpublished_object_keysdepends_on_skipped_cells§errored$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbqueued¤logsrunning¦outputbody"a (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$P=persist_js_state·has_pluto_hook_features§cell_id$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbdepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$6173cba2-c0e1-4fba-89f5-0a9061992bd8queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$Npgpersist_js_state·has_pluto_hook_features§cell_id$6173cba2-c0e1-4fba-89f5-0a9061992bd8depends_on_disabled_cells§runtime 6published_object_keysdepends_on_skipped_cells§errored$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$N:\persist_js_state·has_pluto_hook_features§cell_id$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550depends_on_disabled_cells§runtime Wpublished_object_keysdepends_on_skipped_cells§errored$891fd391-7cef-4305-bc86-1849f3fd1126queued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.00999983text/plain0.0199987text/plain0.0299955text/plain0.0399893text/plain0.0499792text/plain0.059964text/plain0.0699428text/plain 0.0799147text/plain 0.0898785text/plain 0.0998334text/plain 0.109778text/plain 0.119712text/plain0.129634text/plain0.139543text/plain0.149438text/plain0.159318text/plain0.169182text/plain0.17903text/plain0.188859text/plainmorel-0.0930505text/plainm-0.0830894text/plainn-0.07312text/plaino-0.0631433text/plainp-0.0531602text/plainq-0.0431719text/plainr-0.0331792text/plains-0.0231832text/plaint-0.0131849text/plainu-0.0031853text/plaintypeArrayprefix_shortobjectid5830ffdb46ae25bemime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$Ockpersist_js_state·has_pluto_hook_features§cell_id$891fd391-7cef-4305-bc86-1849f3fd1126depends_on_disabled_cells§runtime5published_object_keysdepends_on_skipped_cells§errored$302440cd-fc4d-4d78-9fbe-157ee2ff37e4queued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.707107text/plain1.0text/plain1.22474text/plain1.41421text/plaintypeArrayprefix_shortobjectidf7c45c78743a3928mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$P$ݰpersist_js_state·has_pluto_hook_features§cell_id$302440cd-fc4d-4d78-9fbe-157ee2ff37e4depends_on_disabled_cells§runtimeL9published_object_keysdepends_on_skipped_cells§errored$a1915cf5-8f18-4372-b35f-511d606bb387queued¤logsrunning¦outputbody#aa (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$PSpersist_js_state·has_pluto_hook_features§cell_id$a1915cf5-8f18-4372-b35f-511d606bb387depends_on_disabled_cells§runtime=published_object_keysdepends_on_skipped_cells§errored$09cb368b-f689-4c50-adf7-74df18d226ddqueued¤logsrunning¦outputbody/

3월17일

mimetext/htmlrootassigneelast_run_timestampA$7 ,persist_js_state·has_pluto_hook_features§cell_id$09cb368b-f689-4c50-adf7-74df18d226dddepends_on_disabled_cells§runtime!published_object_keysdepends_on_skipped_cells§errored$ccd9234b-d1a0-4236-ae94-6975c02e3e95queued¤logsrunning¦outputbodyN

(풀이1: 제가 의도한 풀이)

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$ccd9234b-d1a0-4236-ae94-6975c02e3e95depends_on_disabled_cells§runtimeupublished_object_keysdepends_on_skipped_cells§errored$2591c80c-233f-40e1-9465-a45524d9d069queued¤logsrunning¦outputbody#_h (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$O(persist_js_state·has_pluto_hook_features§cell_id$2591c80c-233f-40e1-9465-a45524d9d069depends_on_disabled_cells§runtime2published_object_keysdepends_on_skipped_cells§errored$beae091e-4edd-4afb-819f-070ed46ad322queued¤logsrunning¦outputbodyF

연산자는 사실 함수였음

mimetext/htmlrootassigneelast_run_timestampA$7 rpersist_js_state·has_pluto_hook_features§cell_id$beae091e-4edd-4afb-819f-070ed46ad322depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$c7849d47-b141-43a4-a1d7-e66a125916c3queued¤logsrunning¦outputbodyS
파이프연산자와 브로드캐스트 ver2
mimetext/htmlrootassigneelast_run_timestampA$7 apersist_js_state·has_pluto_hook_features§cell_id$c7849d47-b141-43a4-a1d7-e66a125916c3depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$ff80c009-5291-4e1c-94a0-cd35eff7cd09queued¤logsrunning¦outputbodyR

(풀이4) 파이프연산자를 이용

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$ff80c009-5291-4e1c-94a0-cd35eff7cd09depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$f397f89e-90f3-465a-8239-272fb7679be0queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$O4Hpersist_js_state·has_pluto_hook_features§cell_id$f397f89e-90f3-465a-8239-272fb7679be0depends_on_disabled_cells§runtime \ӵpublished_object_keysdepends_on_skipped_cells§errored$f1645b5a-efbe-4612-ab5a-2931bec4c3dfqueued¤logsrunning¦outputbody-99mimetext/plainrootassigneelast_run_timestampA$O+ persist_js_state·has_pluto_hook_features§cell_id$f1645b5a-efbe-4612-ab5a-2931bec4c3dfdepends_on_disabled_cells§runtime2Kpublished_object_keysdepends_on_skipped_cells§errored$dd6b49c9-2376-465d-a39d-1fb9c3020c05queued¤logsrunning¦outputbodyb
mimetext/htmlrootassigneelast_run_timestampA$O/persist_js_state·has_pluto_hook_features§cell_id$dd6b49c9-2376-465d-a39d-1fb9c3020c05depends_on_disabled_cells§runtimeLpublished_object_keysdepends_on_skipped_cells§errored$be8c34b7-e099-451e-9531-547f5690930bqueued¤logslinemsg2보다작거나같음 text/plaincell_id$be8c34b7-e099-451e-9531-547f5690930bkwargsidPlutoRunner_d1acb81efileP/home/runner/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/stdout.jlgroupstdoutlevelLogLevel(-555)running¦outputbodymimetext/plainrootassigneelast_run_timestampA$Pذpersist_js_state·has_pluto_hook_features§cell_id$be8c34b7-e099-451e-9531-547f5690930bdepends_on_disabled_cells§runtimeRpublished_object_keysdepends_on_skipped_cells§errored$72a9be93-4bba-4fa1-b891-b3143ae5bd43queued¤logslinemsg2보다작거나같음 text/plaincell_id$72a9be93-4bba-4fa1-b891-b3143ae5bd43kwargsidPlutoRunner_d1acb81efileP/home/runner/.julia/packages/Pluto/6smog/src/runner/PlutoRunner/src/io/stdout.jlgroupstdoutlevelLogLevel(-555)running¦outputbodymimetext/plainrootassigneelast_run_timestampA$Pcpersist_js_state·has_pluto_hook_features§cell_id$72a9be93-4bba-4fa1-b891-b3143ae5bd43depends_on_disabled_cells§runtimenpublished_object_keysdepends_on_skipped_cells§errored$8acede8a-8a46-4c93-8603-9bbe9a3f092cqueued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$P3/persist_js_state·has_pluto_hook_features§cell_id$8acede8a-8a46-4c93-8603-9bbe9a3f092cdepends_on_disabled_cells§runtime Ķpublished_object_keysdepends_on_skipped_cells§errored$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bqueued¤logsrunning¦outputbody4

(풀이)

mimetext/htmlrootassigneelast_run_timestampA$7 lpersist_js_state·has_pluto_hook_features§cell_id$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bdepends_on_disabled_cells§runtimeipublished_object_keysdepends_on_skipped_cells§errored$ec02f852-1c0a-47ed-8d42-20ae7bc43bbcqueued¤logsrunning¦outputbody8

파이프연산자

mimetext/htmlrootassigneelast_run_timestampA$7 ҕpersist_js_state·has_pluto_hook_features§cell_id$ec02f852-1c0a-47ed-8d42-20ae7bc43bbcdepends_on_disabled_cells§runtimekpublished_object_keysdepends_on_skipped_cells§errored$d597d9f9-e54a-40ec-a6a7-c4ff43474547queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$M芰persist_js_state·has_pluto_hook_features§cell_id$d597d9f9-e54a-40ec-a6a7-c4ff43474547depends_on_disabled_cells§runtimeΛ/published_object_keysdepends_on_skipped_cells§errored$dca32ac5-5403-4660-b5ab-5170e3de39d1queued¤logsrunning¦outputbody`1mimetext/htmlrootassigneelast_run_timestampA$Ppersist_js_state·has_pluto_hook_features§cell_id$dca32ac5-5403-4660-b5ab-5170e3de39d1depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$9b2fd596-2c96-4a25-bc61-c75237cb6220queued¤logsrunning¦outputbody5

(풀이3)

mimetext/htmlrootassigneelast_run_timestampA$7 persist_js_state·has_pluto_hook_features§cell_id$9b2fd596-2c96-4a25-bc61-c75237cb6220depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$9f3994fe-03fc-4b82-936d-cce75e6325ccqueued¤logsrunning¦outputbody8

브로드캐스팅

mimetext/htmlrootassigneelast_run_timestampA$7 ۰persist_js_state·has_pluto_hook_features§cell_id$9f3994fe-03fc-4b82-936d-cce75e6325ccdepends_on_disabled_cells§runtimeǵpublished_object_keysdepends_on_skipped_cells§errored$c46eaba7-d9c3-4423-a51c-3519f994ee6fqueued¤logsrunning¦outputbody0mimetext/plainrootassigneelast_run_timestampA$Oxpersist_js_state·has_pluto_hook_features§cell_id$c46eaba7-d9c3-4423-a51c-3519f994ee6fdepends_on_disabled_cells§runtime3published_object_keysdepends_on_skipped_cells§errored$29015797-b08c-4dd9-be8d-e26a2f7b01c0queued¤logsrunning¦outputbody!
mimetext/htmlrootassigneelast_run_timestampA$ODðpersist_js_state·has_pluto_hook_features§cell_id$29015797-b08c-4dd9-be8d-e26a2f7b01c0depends_on_disabled_cells§runtimeLTTpublished_object_keysdepends_on_skipped_cells§errored$0f08227c-c6e0-46f2-91fc-5e9f8d44e301queued¤logsrunning¦outputbodyR

위처럼 range를 넣어줘도 plot 그려짐

mimetext/htmlrootassigneelast_run_timestampA$7 [İpersist_js_state·has_pluto_hook_features§cell_id$0f08227c-c6e0-46f2-91fc-5e9f8d44e301depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$262d6585-c657-4239-83ae-21c54e71005dqueued¤logsrunning¦outputbodya1mimetext/htmlrootassigneelast_run_timestampA$P&-persist_js_state·has_pluto_hook_features§cell_id$262d6585-c657-4239-83ae-21c54e71005ddepends_on_disabled_cells§runtime Npublished_object_keysdepends_on_skipped_cells§errored$2ee12f8f-e5d7-4292-b568-2a217a453bdbqueued¤logsrunning¦outputbody1mimetext/plainrootassigneelast_run_timestampA$Opersist_js_state·has_pluto_hook_features§cell_id$2ee12f8f-e5d7-4292-b568-2a217a453bdbdepends_on_disabled_cells§runtime05published_object_keysdepends_on_skipped_cells§errored$89251ebb-33b6-4324-8db9-ae3d723630e7queued¤logsrunning¦outputbody$#55 (generic function with 1 method)mimetext/plainrootassigneelast_run_timestampA$PE]persist_js_state·has_pluto_hook_features§cell_id$89251ebb-33b6-4324-8db9-ae3d723630e7depends_on_disabled_cells§runtimeJpublished_object_keysdepends_on_skipped_cells§errored$7315268d-1678-4106-affc-31dfa85b9a40queued¤logsrunning¦outputbodyprefixFloat64elements4.0text/plain3.61text/plain3.24text/plain2.89text/plain2.56text/plain2.25text/plain1.96text/plain1.69text/plain 1.44text/plain 1.21text/plain 1.0text/plain 0.81text/plain 0.64text/plain0.49text/plain0.36text/plain0.25text/plain0.16text/plain0.09text/plain0.04text/plain0.01text/plainmore 1.21text/plain!1.44text/plain"1.69text/plain#1.96text/plain$2.25text/plain%2.56text/plain&2.89text/plain'3.24text/plain(3.61text/plain)4.0text/plaintypeArrayprefix_shortobjectidafe8e4130a6cf1femime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$K}Spersist_js_state·has_pluto_hook_features§cell_id$7315268d-1678-4106-affc-31dfa85b9a40depends_on_disabled_cells§runtimew!published_object_keysdepends_on_skipped_cells§errored$391d8ccf-47b5-4367-b7b1-564c848692bdqueued¤logsrunning¦outputbodyprefixFloat64elements0.0text/plain0.707107text/plain1.0text/plain1.22474text/plain1.41421text/plaintypeArrayprefix_shortobjectid552b1b1f6bddbefmime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$PБpersist_js_state·has_pluto_hook_features§cell_id$391d8ccf-47b5-4367-b7b1-564c848692bddepends_on_disabled_cells§runtime͊published_object_keysdepends_on_skipped_cells§errored$1d8417c1-dfbb-48fc-aec2-89bd3b30c450queued¤logsrunning¦outputbody0mimetext/plainrootassigneelast_run_timestampA$O\persist_js_state·has_pluto_hook_features§cell_id$1d8417c1-dfbb-48fc-aec2-89bd3b30c450depends_on_disabled_cells§runtime3published_object_keysdepends_on_skipped_cells§errored$f22510af-b047-4e79-8d5d-e8fd11a9eea7queued¤logsrunning¦outputbodyk
mimetext/htmlrootassigneelast_run_timestampA$7 A persist_js_state·has_pluto_hook_features§cell_id$f22510af-b047-4e79-8d5d-e8fd11a9eea7depends_on_disabled_cells§runtimeƸpublished_object_keysdepends_on_skipped_cells§errored$76c5c29f-a90f-478a-9f98-b3afb11eb0cequeued¤logsrunning¦outputbody2

숙제풀이

mimetext/htmlrootassigneelast_run_timestampA$7 mHpersist_js_state·has_pluto_hook_features§cell_id$76c5c29f-a90f-478a-9f98-b3afb11eb0cedepends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$e4e87b59-69e9-44ae-b903-5480248a3c66queued¤logsrunning¦outputbody*
mimetext/htmlrootassigneelast_run_timestampA$N3persist_js_state·has_pluto_hook_features§cell_id$e4e87b59-69e9-44ae-b903-5480248a3c66depends_on_disabled_cells§runtimeLBpublished_object_keysdepends_on_skipped_cells§errored$9f336162-5b96-4924-8d12-597d325ee8bfqueued¤logsrunning¦outputbody2

함수고급

mimetext/htmlrootassigneelast_run_timestampA$7 qpersist_js_state·has_pluto_hook_features§cell_id$9f336162-5b96-4924-8d12-597d325ee8bfdepends_on_disabled_cells§runtimeHpublished_object_keysdepends_on_skipped_cells§errored$2fea6b1e-e64a-4467-8a13-8f60fe91025aqueued¤logsrunning¦outputbody5

(풀이2)

mimetext/htmlrootassigneelast_run_timestampA$7 hpersist_js_state·has_pluto_hook_features§cell_id$2fea6b1e-e64a-4467-8a13-8f60fe91025adepends_on_disabled_cells§runtime_published_object_keysdepends_on_skipped_cells§errored$09583a25-c52a-41ef-a43b-3a49521ee05equeued¤logsrunning¦outputbody>Main.var"#7#9"{typeof(^)}(^) ∘ Main.var"#8#10"{typeof(-)}(-)mimetext/plainrootassigneeglast_run_timestampA$KG{gpersist_js_state·has_pluto_hook_features§cell_id$09583a25-c52a-41ef-a43b-3a49521ee05edepends_on_disabled_cells§runtimeUpublished_object_keysdepends_on_skipped_cells§errored$61eb8c21-3de1-47f2-b520-2b428c4d48e0queued¤logsrunning¦outputbody
mimetext/htmlrootassigneelast_run_timestampA$Nx0Upersist_js_state·has_pluto_hook_features§cell_id$61eb8c21-3de1-47f2-b520-2b428c4d48e0depends_on_disabled_cells§runtime2ŵpublished_object_keysdepends_on_skipped_cells§errored$8c3d3c6f-0c62-4550-8051-0afc77d379a7queued¤logsrunning¦outputbodyE

(함수를 뱉는 함수)

mimetext/htmlrootassigneelast_run_timestampA$7 Fpersist_js_state·has_pluto_hook_features§cell_id$8c3d3c6f-0c62-4550-8051-0afc77d379a7depends_on_disabled_cells§runtimepublished_object_keysdepends_on_skipped_cells§errored$6672098a-e3b6-45f1-a806-78819aa7e9e9queued¤logsrunning¦outputbody1mimetext/plainrootassigneelast_run_timestampA$O°persist_js_state·has_pluto_hook_features§cell_id$6672098a-e3b6-45f1-a806-78819aa7e9e9depends_on_disabled_cells§runtimeCݵpublished_object_keysdepends_on_skipped_cells§errored$1821f7e0-2f71-4350-a6ff-6b07ba2e7283queued¤logslinemsgIFor saving to png with the Plotly backend PlotlyBase has to be installed.text/plaincell_id$1821f7e0-2f71-4350-a6ff-6b07ba2e7283kwargsidPlots_8f1013fffile8/home/runner/.julia/packages/Plots/cPJQu/src/backends.jlgroupbackendslevelInforunning¦outputbodyprefixPlots.PlotlyBackendelementstypestructprefix_shortPlotlyBackendobjectidffffffffae2cfc97mime!application/vnd.pluto.tree+objectrootassigneelast_run_timestampA$Jpersist_js_state·has_pluto_hook_features§cell_id$1821f7e0-2f71-4350-a6ff-6b07ba2e7283depends_on_disabled_cells§runtime$published_object_keysdepends_on_skipped_cells§errored$07c6d5f7-0c6e-4991-80ee-4b7862c40e42queued¤logsrunning¦outputbodyb
mimetext/htmlrootassigneelast_run_timestampA$OҰpersist_js_state·has_pluto_hook_features§cell_id$07c6d5f7-0c6e-4991-80ee-4b7862c40e42depends_on_disabled_cells§runtime published_object_keysdepends_on_skipped_cells§errored±cell_dependencies`$120291d7-b4c3-47a8-8c10-99382d04df0cprecedence_heuristic cell_id$120291d7-b4c3-47a8-8c10-99382d04df0cdownstream_cells_mapupstream_cells_map@md_strgetindex$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49precedence_heuristic cell_id$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49downstream_cells_mapupstream_cells_map@md_strgetindex$d6e31001-5eec-4acb-afd3-c8bb7b822038precedence_heuristic cell_id$d6e31001-5eec-4acb-afd3-c8bb7b822038downstream_cells_mapupstream_cells_map-*$e00f7cf7-23a9-44c3-b67d-d934f0b32c5aprecedence_heuristic cell_id$e00f7cf7-23a9-44c3-b67d-d934f0b32c5adownstream_cells_mapupstream_cells_map-*$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839precedence_heuristic cell_id$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839downstream_cells_mapupstream_cells_map@md_strgetindex$de6cbedf-99d8-44d0-83ea-818a0a43e47aprecedence_heuristic cell_id$de6cbedf-99d8-44d0-83ea-818a0a43e47adownstream_cells_mapupstream_cells_mapz$931aa1c2-0186-40a6-a3f2-e8e505682c0c$d1353080-c111-459e-818e-6e29ae69a714precedence_heuristic cell_id$d1353080-c111-459e-818e-6e29ae69a714downstream_cells_mapf$2020a56c-563a-435a-a76d-478ecb16d8abupstream_cells_map+$d7125ccc-82d6-4b30-a275-68e08f2ddef2precedence_heuristic cell_id$d7125ccc-82d6-4b30-a275-68e08f2ddef2downstream_cells_mapupstream_cells_map@md_strgetindex$260a4935-7b4e-4e80-8df2-b85e367fd301precedence_heuristic cell_id$260a4935-7b4e-4e80-8df2-b85e367fd301downstream_cells_mapupstream_cells_map@md_strgetindex$13def20a-7ba6-4c5b-abbd-550d794df1fcprecedence_heuristic cell_id$13def20a-7ba6-4c5b-abbd-550d794df1fcdownstream_cells_mapupstream_cells_map@md_strgetindex$184926cd-3b17-4fd1-b35f-336f451cb142precedence_heuristic cell_id$184926cd-3b17-4fd1-b35f-336f451cb142downstream_cells_mapupstream_cells_map*$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94precedence_heuristic cell_id$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94downstream_cells_mapupstream_cells_map-^|>$cbb74ed1-7c47-453f-8ba0-e97456322eb0precedence_heuristic cell_id$cbb74ed1-7c47-453f-8ba0-e97456322eb0downstream_cells_mapupstream_cells_mapg$09583a25-c52a-41ef-a43b-3a49521ee05eplotx$7315268d-1678-4106-affc-31dfa85b9a40$a97b3d06-94fb-47d6-8096-7cd5f2778b88precedence_heuristic cell_id$a97b3d06-94fb-47d6-8096-7cd5f2778b88downstream_cells_mapmyadd$1b88cbac-33a9-48a3-afa6-af9fd2d56a3cupstream_cells_map+$2020a56c-563a-435a-a76d-478ecb16d8abprecedence_heuristic cell_id$2020a56c-563a-435a-a76d-478ecb16d8abdownstream_cells_mapupstream_cells_mapf$d1353080-c111-459e-818e-6e29ae69a714$6c7458e2-f37f-4170-bc5f-949aecd57ff9precedence_heuristic cell_id$6c7458e2-f37f-4170-bc5f-949aecd57ff9downstream_cells_mapupstream_cells_map@md_strgetindex$3a9554c4-f9d9-41a3-b6bf-6aff5966b922precedence_heuristic cell_id$3a9554c4-f9d9-41a3-b6bf-6aff5966b922downstream_cells_mapupstream_cells_map@md_strgetindex$3fd41cb7-1b7e-4a59-80d0-905445333701precedence_heuristic cell_id$3fd41cb7-1b7e-4a59-80d0-905445333701downstream_cells_mapupstream_cells_map-plot^|>x$7315268d-1678-4106-affc-31dfa85b9a40$f0b9e3eb-8df2-48b1-a5dd-23216a69912fprecedence_heuristic cell_id$f0b9e3eb-8df2-48b1-a5dd-23216a69912fdownstream_cells_mapupstream_cells_map@md_strgetindex$bf5d5442-34fc-4a9a-9efc-9a50b891511bprecedence_heuristic cell_id$bf5d5442-34fc-4a9a-9efc-9a50b891511bdownstream_cells_mapupstream_cells_map+$30d0741c-8e74-4d38-908c-e0bcfe4fd5caprecedence_heuristic cell_id$30d0741c-8e74-4d38-908c-e0bcfe4fd5cadownstream_cells_mapupstream_cells_map@md_strgetindex$ba005ee2-b267-4037-a4c1-0bd3e783104eprecedence_heuristic cell_id$ba005ee2-b267-4037-a4c1-0bd3e783104edownstream_cells_mapupstream_cells_map-^|>$8c43a1e1-242f-465c-af55-ea068ead309dprecedence_heuristic cell_id$8c43a1e1-242f-465c-af55-ea068ead309ddownstream_cells_mapupstream_cells_map:sqrt@__dot__$776c7951-82ed-48be-a4e7-440244f10009precedence_heuristic cell_id$776c7951-82ed-48be-a4e7-440244f10009downstream_cells_mapupstream_cells_maph$f8cff662-1add-4970-9290-4f034080af1b$1b88cbac-33a9-48a3-afa6-af9fd2d56a3cprecedence_heuristic cell_id$1b88cbac-33a9-48a3-afa6-af9fd2d56a3cdownstream_cells_mapupstream_cells_mapmyadd$a97b3d06-94fb-47d6-8096-7cd5f2778b88$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6precedence_heuristic cell_id$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6downstream_cells_mapupstream_cells_map@md_strgetindex$c19237ce-0e98-4a20-9e64-e3fe06858578precedence_heuristic cell_id$c19237ce-0e98-4a20-9e64-e3fe06858578downstream_cells_mapupstream_cells_map@md_strgetindex$7e90058d-a099-4016-9a61-20ae2af8f526precedence_heuristic cell_id$7e90058d-a099-4016-9a61-20ae2af8f526downstream_cells_mapg_lee$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550upstream_cells_map∘-^$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80precedence_heuristic cell_id$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80downstream_cells_mapupstream_cells_map:-^|>@__dot__cossin$9beafe50-2ce1-4626-91fb-b5b1325f0b1cprecedence_heuristiccell_id$9beafe50-2ce1-4626-91fb-b5b1325f0b1cdownstream_cells_mapPlutoUI$8598e32c-4c84-4065-8d39-110185e6e9a6Plots$1821f7e0-2f71-4350-a6ff-6b07ba2e7283upstream_cells_map$931aa1c2-0186-40a6-a3f2-e8e505682c0cprecedence_heuristic cell_id$931aa1c2-0186-40a6-a3f2-e8e505682c0cdownstream_cells_mapz$de6cbedf-99d8-44d0-83ea-818a0a43e47aupstream_cells_map$8d584d2a-5350-4c80-a5a5-a8423232897eprecedence_heuristic cell_id$8d584d2a-5350-4c80-a5a5-a8423232897edownstream_cells_mapupstream_cells_maph$f8cff662-1add-4970-9290-4f034080af1b$9e571983-ccbc-432b-866c-6fb2e5945864precedence_heuristic cell_id$9e571983-ccbc-432b-866c-6fb2e5945864downstream_cells_mapupstream_cells_map:sqrt√$ea993fd5-988a-4e5d-b226-1be12df9d0e9precedence_heuristic cell_id$ea993fd5-988a-4e5d-b226-1be12df9d0e9downstream_cells_mapupstream_cells_map:-^|>@__dot__$7a4c47be-e388-483f-a47f-db5e7c5a52e3precedence_heuristic cell_id$7a4c47be-e388-483f-a47f-db5e7c5a52e3downstream_cells_mapupstream_cells_map==printlndd$262d6585-c657-4239-83ae-21c54e71005d$7a708f2f-0a1b-46f3-89ff-8c766d8824f5precedence_heuristic cell_id$7a708f2f-0a1b-46f3-89ff-8c766d8824f5downstream_cells_mapupstream_cells_map:-|>*inv$a8357633-10c7-4927-a996-469e0933fdf3precedence_heuristic cell_id$a8357633-10c7-4927-a996-469e0933fdf3downstream_cells_mapupstream_cells_map@md_strgetindex$074402aa-dc21-48b3-8152-8eea32d783a4precedence_heuristic cell_id$074402aa-dc21-48b3-8152-8eea32d783a4downstream_cells_mapupstream_cells_map-^|>$6dbd192b-efe2-411b-8e72-8b7aa83eedf8precedence_heuristic cell_id$6dbd192b-efe2-411b-8e72-8b7aa83eedf8downstream_cells_mapupstream_cells_map+$bd051e91-1f2e-4d09-aff1-7031627243b6precedence_heuristic cell_id$bd051e91-1f2e-4d09-aff1-7031627243b6downstream_cells_mapupstream_cells_map@md_strgetindex$f5f97e9c-b060-4d47-b239-7b01d4f6ea57precedence_heuristic cell_id$f5f97e9c-b060-4d47-b239-7b01d4f6ea57downstream_cells_mapupstream_cells_map:scatteraa$a1915cf5-8f18-4372-b35f-511d606bb387$e30f919d-4387-49e0-8202-c66e179f5c95precedence_heuristic cell_id$e30f919d-4387-49e0-8202-c66e179f5c95downstream_cells_mapupstream_cells_map@md_strgetindex$f6e45891-3d89-4890-aa29-045605b7f1c5precedence_heuristic cell_id$f6e45891-3d89-4890-aa29-045605b7f1c5downstream_cells_mapupstream_cells_map+$28c74c5b-00ea-4483-951d-5f3ee26fb894precedence_heuristic cell_id$28c74c5b-00ea-4483-951d-5f3ee26fb894downstream_cells_mapupstream_cells_map@md_strgetindex$8598e32c-4c84-4065-8d39-110185e6e9a6precedence_heuristic cell_id$8598e32c-4c84-4065-8d39-110185e6e9a6downstream_cells_mapupstream_cells_mapPlutoUI$9beafe50-2ce1-4626-91fb-b5b1325f0b1cPlutoUI.TableOfContents$0b17375a-b0e2-4c96-b685-09d972572685precedence_heuristic cell_id$0b17375a-b0e2-4c96-b685-09d972572685downstream_cells_mapupstream_cells_mapx$7315268d-1678-4106-affc-31dfa85b9a40$59898c01-4cd4-4cb0-935f-17c3f15646d8precedence_heuristic cell_id$59898c01-4cd4-4cb0-935f-17c3f15646d8downstream_cells_mapupstream_cells_mapplotx$7315268d-1678-4106-affc-31dfa85b9a40h$f8cff662-1add-4970-9290-4f034080af1b$c67305de-6168-4f92-9ea7-86deeffc9746precedence_heuristic cell_id$c67305de-6168-4f92-9ea7-86deeffc9746downstream_cells_mapupstream_cells_map_h$2591c80c-233f-40e1-9465-a45524d9d069$33de3890-d7d6-472c-aa98-c925c6bac8d1precedence_heuristic cell_id$33de3890-d7d6-472c-aa98-c925c6bac8d1downstream_cells_mapupstream_cells_map:π*sin$82a099f4-f740-4e90-99f4-c1edb3e136ebprecedence_heuristic cell_id$82a099f4-f740-4e90-99f4-c1edb3e136ebdownstream_cells_mapupstream_cells_map@md_strgetindex$37ea5718-2f38-4944-9c8a-7f07b82bdc80precedence_heuristic cell_id$37ea5718-2f38-4944-9c8a-7f07b82bdc80downstream_cells_mapupstream_cells_mapg$09583a25-c52a-41ef-a43b-3a49521ee05eplotx$7315268d-1678-4106-affc-31dfa85b9a40$f8cff662-1add-4970-9290-4f034080af1bprecedence_heuristic cell_id$f8cff662-1add-4970-9290-4f034080af1bdownstream_cells_maph$8d584d2a-5350-4c80-a5a5-a8423232897e$776c7951-82ed-48be-a4e7-440244f10009$c46eaba7-d9c3-4423-a51c-3519f994ee6f$1d8417c1-dfbb-48fc-aec2-89bd3b30c450$6672098a-e3b6-45f1-a806-78819aa7e9e9$59898c01-4cd4-4cb0-935f-17c3f15646d8$f397f89e-90f3-465a-8239-272fb7679be0upstream_cells_map∘-^$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbprecedence_heuristic cell_id$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbdownstream_cells_mapa$8acede8a-8a46-4c93-8603-9bbe9a3f092cupstream_cells_map<=-+≤$6173cba2-c0e1-4fba-89f5-0a9061992bd8precedence_heuristic cell_id$6173cba2-c0e1-4fba-89f5-0a9061992bd8downstream_cells_mapupstream_cells_mapg$09583a25-c52a-41ef-a43b-3a49521ee05eplotx$7315268d-1678-4106-affc-31dfa85b9a40$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550precedence_heuristic cell_id$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550downstream_cells_mapupstream_cells_mapg_lee$7e90058d-a099-4016-9a61-20ae2af8f526plotx$7315268d-1678-4106-affc-31dfa85b9a40$891fd391-7cef-4305-bc86-1849f3fd1126precedence_heuristic cell_id$891fd391-7cef-4305-bc86-1849f3fd1126downstream_cells_mapupstream_cells_map:π*sin$302440cd-fc4d-4d78-9fbe-157ee2ff37e4precedence_heuristic cell_id$302440cd-fc4d-4d78-9fbe-157ee2ff37e4downstream_cells_mapupstream_cells_map:sqrt@__dot__√$a1915cf5-8f18-4372-b35f-511d606bb387precedence_heuristic cell_id$a1915cf5-8f18-4372-b35f-511d606bb387downstream_cells_mapaa$f5f97e9c-b060-4d47-b239-7b01d4f6ea57upstream_cells_map-+==$09cb368b-f689-4c50-adf7-74df18d226ddprecedence_heuristic cell_id$09cb368b-f689-4c50-adf7-74df18d226dddownstream_cells_mapupstream_cells_map@md_strgetindex$ccd9234b-d1a0-4236-ae94-6975c02e3e95precedence_heuristic cell_id$ccd9234b-d1a0-4236-ae94-6975c02e3e95downstream_cells_mapupstream_cells_map@md_strgetindex$2591c80c-233f-40e1-9465-a45524d9d069precedence_heuristic cell_id$2591c80c-233f-40e1-9465-a45524d9d069downstream_cells_map_h$c67305de-6168-4f92-9ea7-86deeffc9746$f1645b5a-efbe-4612-ab5a-2931bec4c3df$29015797-b08c-4dd9-be8d-e26a2f7b01c0upstream_cells_map<->isless+$beae091e-4edd-4afb-819f-070ed46ad322precedence_heuristic cell_id$beae091e-4edd-4afb-819f-070ed46ad322downstream_cells_mapupstream_cells_map@md_strgetindex$c7849d47-b141-43a4-a1d7-e66a125916c3precedence_heuristic cell_id$c7849d47-b141-43a4-a1d7-e66a125916c3downstream_cells_mapupstream_cells_map@md_strgetindex$ff80c009-5291-4e1c-94a0-cd35eff7cd09precedence_heuristic cell_id$ff80c009-5291-4e1c-94a0-cd35eff7cd09downstream_cells_mapupstream_cells_map@md_strgetindex$f397f89e-90f3-465a-8239-272fb7679be0precedence_heuristic cell_id$f397f89e-90f3-465a-8239-272fb7679be0downstream_cells_mapupstream_cells_mapplotx$7315268d-1678-4106-affc-31dfa85b9a40h$f8cff662-1add-4970-9290-4f034080af1b$f1645b5a-efbe-4612-ab5a-2931bec4c3dfprecedence_heuristic cell_id$f1645b5a-efbe-4612-ab5a-2931bec4c3dfdownstream_cells_mapupstream_cells_map_h$2591c80c-233f-40e1-9465-a45524d9d069$dd6b49c9-2376-465d-a39d-1fb9c3020c05precedence_heuristic cell_id$dd6b49c9-2376-465d-a39d-1fb9c3020c05downstream_cells_mapupstream_cells_map:sqrtplotplot!π*sin$be8c34b7-e099-451e-9531-547f5690930bprecedence_heuristic cell_id$be8c34b7-e099-451e-9531-547f5690930bdownstream_cells_mapupstream_cells_map<=printlnn$dca32ac5-5403-4660-b5ab-5170e3de39d1$72a9be93-4bba-4fa1-b891-b3143ae5bd43precedence_heuristic cell_id$72a9be93-4bba-4fa1-b891-b3143ae5bd43downstream_cells_mapupstream_cells_map<=≤printlnn$dca32ac5-5403-4660-b5ab-5170e3de39d1$8acede8a-8a46-4c93-8603-9bbe9a3f092cprecedence_heuristic cell_id$8acede8a-8a46-4c93-8603-9bbe9a3f092cdownstream_cells_mapupstream_cells_map:scattera$60e4fb10-ec46-4ca8-89a3-0b6e265aebdb$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bprecedence_heuristic cell_id$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bdownstream_cells_mapupstream_cells_map@md_strgetindex$ec02f852-1c0a-47ed-8d42-20ae7bc43bbcprecedence_heuristic cell_id$ec02f852-1c0a-47ed-8d42-20ae7bc43bbcdownstream_cells_mapupstream_cells_map@md_strgetindex$d597d9f9-e54a-40ec-a6a7-c4ff43474547precedence_heuristic cell_id$d597d9f9-e54a-40ec-a6a7-c4ff43474547downstream_cells_mapupstream_cells_mapplotx$7315268d-1678-4106-affc-31dfa85b9a40y$7315268d-1678-4106-affc-31dfa85b9a40$dca32ac5-5403-4660-b5ab-5170e3de39d1precedence_heuristic cell_id$dca32ac5-5403-4660-b5ab-5170e3de39d1downstream_cells_mapn$72a9be93-4bba-4fa1-b891-b3143ae5bd43$be8c34b7-e099-451e-9531-547f5690930bupstream_cells_mapCoreBase:PlutoRunner.create_bondPlutoRunnerCore.applicable@bindBase.getSlider$9b2fd596-2c96-4a25-bc61-c75237cb6220precedence_heuristic cell_id$9b2fd596-2c96-4a25-bc61-c75237cb6220downstream_cells_mapupstream_cells_map@md_strgetindex$9f3994fe-03fc-4b82-936d-cce75e6325ccprecedence_heuristic cell_id$9f3994fe-03fc-4b82-936d-cce75e6325ccdownstream_cells_mapupstream_cells_map@md_strgetindex$c46eaba7-d9c3-4423-a51c-3519f994ee6fprecedence_heuristic cell_id$c46eaba7-d9c3-4423-a51c-3519f994ee6fdownstream_cells_mapupstream_cells_maph$f8cff662-1add-4970-9290-4f034080af1b$29015797-b08c-4dd9-be8d-e26a2f7b01c0precedence_heuristic cell_id$29015797-b08c-4dd9-be8d-e26a2f7b01c0downstream_cells_mapupstream_cells_mapplotplot!_h$2591c80c-233f-40e1-9465-a45524d9d069$0f08227c-c6e0-46f2-91fc-5e9f8d44e301precedence_heuristic cell_id$0f08227c-c6e0-46f2-91fc-5e9f8d44e301downstream_cells_mapupstream_cells_map@md_strgetindex$262d6585-c657-4239-83ae-21c54e71005dprecedence_heuristic cell_id$262d6585-c657-4239-83ae-21c54e71005ddownstream_cells_mapdd$7a4c47be-e388-483f-a47f-db5e7c5a52e3upstream_cells_mapCoreBase:PlutoRunner.create_bondPlutoRunnerCore.applicable@bindBase.getSlider$2ee12f8f-e5d7-4292-b568-2a217a453bdbprecedence_heuristic cell_id$2ee12f8f-e5d7-4292-b568-2a217a453bdbdownstream_cells_mapupstream_cells_map-^|>$89251ebb-33b6-4324-8db9-ae3d723630e7precedence_heuristic cell_id$89251ebb-33b6-4324-8db9-ae3d723630e7downstream_cells_mapupstream_cells_map-*$7315268d-1678-4106-affc-31dfa85b9a40precedence_heuristic cell_id$7315268d-1678-4106-affc-31dfa85b9a40downstream_cells_mapx$d597d9f9-e54a-40ec-a6a7-c4ff43474547$cbb74ed1-7c47-453f-8ba0-e97456322eb0$6173cba2-c0e1-4fba-89f5-0a9061992bd8$37ea5718-2f38-4944-9c8a-7f07b82bdc80$61eb8c21-3de1-47f2-b520-2b428c4d48e0$e4e87b59-69e9-44ae-b903-5480248a3c66$0b17375a-b0e2-4c96-b685-09d972572685$3fd41cb7-1b7e-4a59-80d0-905445333701$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550$1d8417c1-dfbb-48fc-aec2-89bd3b30c450$6672098a-e3b6-45f1-a806-78819aa7e9e9$59898c01-4cd4-4cb0-935f-17c3f15646d8$f397f89e-90f3-465a-8239-272fb7679be0y$d597d9f9-e54a-40ec-a6a7-c4ff43474547upstream_cells_map:g$09583a25-c52a-41ef-a43b-3a49521ee05e$391d8ccf-47b5-4367-b7b1-564c848692bdprecedence_heuristic cell_id$391d8ccf-47b5-4367-b7b1-564c848692bddownstream_cells_mapupstream_cells_map:sqrt$1d8417c1-dfbb-48fc-aec2-89bd3b30c450precedence_heuristic cell_id$1d8417c1-dfbb-48fc-aec2-89bd3b30c450downstream_cells_mapupstream_cells_mapx$7315268d-1678-4106-affc-31dfa85b9a40h$f8cff662-1add-4970-9290-4f034080af1b$f22510af-b047-4e79-8d5d-e8fd11a9eea7precedence_heuristic cell_id$f22510af-b047-4e79-8d5d-e8fd11a9eea7downstream_cells_mapupstream_cells_mapBaseBase.Docs.HTML@html_str$76c5c29f-a90f-478a-9f98-b3afb11eb0ceprecedence_heuristic cell_id$76c5c29f-a90f-478a-9f98-b3afb11eb0cedownstream_cells_mapupstream_cells_map@md_strgetindex$e4e87b59-69e9-44ae-b903-5480248a3c66precedence_heuristic cell_id$e4e87b59-69e9-44ae-b903-5480248a3c66downstream_cells_mapupstream_cells_map-plot^plot!x$7315268d-1678-4106-affc-31dfa85b9a40cossin$9f336162-5b96-4924-8d12-597d325ee8bfprecedence_heuristic cell_id$9f336162-5b96-4924-8d12-597d325ee8bfdownstream_cells_mapupstream_cells_map@md_strgetindex$2fea6b1e-e64a-4467-8a13-8f60fe91025aprecedence_heuristic cell_id$2fea6b1e-e64a-4467-8a13-8f60fe91025adownstream_cells_mapupstream_cells_map@md_strgetindex$09583a25-c52a-41ef-a43b-3a49521ee05eprecedence_heuristic cell_id$09583a25-c52a-41ef-a43b-3a49521ee05edownstream_cells_mapg$7315268d-1678-4106-affc-31dfa85b9a40$cbb74ed1-7c47-453f-8ba0-e97456322eb0$6173cba2-c0e1-4fba-89f5-0a9061992bd8$37ea5718-2f38-4944-9c8a-7f07b82bdc80upstream_cells_map∘-^$61eb8c21-3de1-47f2-b520-2b428c4d48e0precedence_heuristic cell_id$61eb8c21-3de1-47f2-b520-2b428c4d48e0downstream_cells_mapupstream_cells_map∘-plot^x$7315268d-1678-4106-affc-31dfa85b9a40$8c3d3c6f-0c62-4550-8051-0afc77d379a7precedence_heuristic cell_id$8c3d3c6f-0c62-4550-8051-0afc77d379a7downstream_cells_mapupstream_cells_map@md_strgetindex$6672098a-e3b6-45f1-a806-78819aa7e9e9precedence_heuristic cell_id$6672098a-e3b6-45f1-a806-78819aa7e9e9downstream_cells_mapupstream_cells_mapx$7315268d-1678-4106-affc-31dfa85b9a40h$f8cff662-1add-4970-9290-4f034080af1b$1821f7e0-2f71-4350-a6ff-6b07ba2e7283precedence_heuristic cell_id$1821f7e0-2f71-4350-a6ff-6b07ba2e7283downstream_cells_mapupstream_cells_mapPlots$9beafe50-2ce1-4626-91fb-b5b1325f0b1cPlots.plotly$07c6d5f7-0c6e-4991-80ee-4b7862c40e42precedence_heuristic cell_id$07c6d5f7-0c6e-4991-80ee-4b7862c40e42downstream_cells_mapupstream_cells_map:sqrtplotplot!π*√sincell_execution_order`$9beafe50-2ce1-4626-91fb-b5b1325f0b1c$09cb368b-f689-4c50-adf7-74df18d226dd$f22510af-b047-4e79-8d5d-e8fd11a9eea7$28c74c5b-00ea-4483-951d-5f3ee26fb894$8598e32c-4c84-4065-8d39-110185e6e9a6$1821f7e0-2f71-4350-a6ff-6b07ba2e7283$76c5c29f-a90f-478a-9f98-b3afb11eb0ce$30d0741c-8e74-4d38-908c-e0bcfe4fd5ca$931aa1c2-0186-40a6-a3f2-e8e505682c0c$d1353080-c111-459e-818e-6e29ae69a714$2020a56c-563a-435a-a76d-478ecb16d8ab$de6cbedf-99d8-44d0-83ea-818a0a43e47a$ccd9234b-d1a0-4236-ae94-6975c02e3e95$09583a25-c52a-41ef-a43b-3a49521ee05e$7315268d-1678-4106-affc-31dfa85b9a40$d597d9f9-e54a-40ec-a6a7-c4ff43474547$2fea6b1e-e64a-4467-8a13-8f60fe91025a$6dbd192b-efe2-411b-8e72-8b7aa83eedf8$bf5d5442-34fc-4a9a-9efc-9a50b891511b$cbb74ed1-7c47-453f-8ba0-e97456322eb0$9b2fd596-2c96-4a25-bc61-c75237cb6220$6173cba2-c0e1-4fba-89f5-0a9061992bd8$37ea5718-2f38-4944-9c8a-7f07b82bdc80$61eb8c21-3de1-47f2-b520-2b428c4d48e0$a8357633-10c7-4927-a996-469e0933fdf3$6c7458e2-f37f-4170-bc5f-949aecd57ff9$e4e87b59-69e9-44ae-b903-5480248a3c66$ff80c009-5291-4e1c-94a0-cd35eff7cd09$0b17375a-b0e2-4c96-b685-09d972572685$3fd41cb7-1b7e-4a59-80d0-905445333701$82a099f4-f740-4e90-99f4-c1edb3e136eb$7e90058d-a099-4016-9a61-20ae2af8f526$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839$f8cff662-1add-4970-9290-4f034080af1b$8d584d2a-5350-4c80-a5a5-a8423232897e$776c7951-82ed-48be-a4e7-440244f10009$c46eaba7-d9c3-4423-a51c-3519f994ee6f$1d8417c1-dfbb-48fc-aec2-89bd3b30c450$6672098a-e3b6-45f1-a806-78819aa7e9e9$59898c01-4cd4-4cb0-935f-17c3f15646d8$f397f89e-90f3-465a-8239-272fb7679be0$8c3d3c6f-0c62-4550-8051-0afc77d379a7$2591c80c-233f-40e1-9465-a45524d9d069$c67305de-6168-4f92-9ea7-86deeffc9746$f1645b5a-efbe-4612-ab5a-2931bec4c3df$29015797-b08c-4dd9-be8d-e26a2f7b01c0$0f08227c-c6e0-46f2-91fc-5e9f8d44e301$9f336162-5b96-4924-8d12-597d325ee8bf$beae091e-4edd-4afb-819f-070ed46ad322$f6e45891-3d89-4890-aa29-045605b7f1c5$184926cd-3b17-4fd1-b35f-336f451cb142$a97b3d06-94fb-47d6-8096-7cd5f2778b88$1b88cbac-33a9-48a3-afa6-af9fd2d56a3c$9f3994fe-03fc-4b82-936d-cce75e6325cc$33de3890-d7d6-472c-aa98-c925c6bac8d1$891fd391-7cef-4305-bc86-1849f3fd1126$dd6b49c9-2376-465d-a39d-1fb9c3020c05$3a9554c4-f9d9-41a3-b6bf-6aff5966b922$07c6d5f7-0c6e-4991-80ee-4b7862c40e42$ec02f852-1c0a-47ed-8d42-20ae7bc43bbc$e30f919d-4387-49e0-8202-c66e179f5c95$2ee12f8f-e5d7-4292-b568-2a217a453bdb$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49$074402aa-dc21-48b3-8152-8eea32d783a4$ba005ee2-b267-4037-a4c1-0bd3e783104e$c7849d47-b141-43a4-a1d7-e66a125916c3$7a708f2f-0a1b-46f3-89ff-8c766d8824f5$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6$13def20a-7ba6-4c5b-abbd-550d794df1fc$391d8ccf-47b5-4367-b7b1-564c848692bd$9e571983-ccbc-432b-866c-6fb2e5945864$bd051e91-1f2e-4d09-aff1-7031627243b6$8c43a1e1-242f-465c-af55-ea068ead309d$302440cd-fc4d-4d78-9fbe-157ee2ff37e4$ea993fd5-988a-4e5d-b226-1be12df9d0e9$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80$f0b9e3eb-8df2-48b1-a5dd-23216a69912f$d7125ccc-82d6-4b30-a275-68e08f2ddef2$89251ebb-33b6-4324-8db9-ae3d723630e7$e00f7cf7-23a9-44c3-b67d-d934f0b32c5a$d6e31001-5eec-4acb-afd3-c8bb7b822038$c19237ce-0e98-4a20-9e64-e3fe06858578$260a4935-7b4e-4e80-8df2-b85e367fd301$dca32ac5-5403-4660-b5ab-5170e3de39d1$72a9be93-4bba-4fa1-b891-b3143ae5bd43$be8c34b7-e099-451e-9531-547f5690930b$262d6585-c657-4239-83ae-21c54e71005d$7a4c47be-e388-483f-a47f-db5e7c5a52e3$d6ba2b43-7cae-4f5d-8c71-7320e8150a4b$60e4fb10-ec46-4ca8-89a3-0b6e265aebdb$8acede8a-8a46-4c93-8603-9bbe9a3f092c$120291d7-b4c3-47a8-8c10-99382d04df0c$a1915cf5-8f18-4372-b35f-511d606bb387$f5f97e9c-b060-4d47-b239-7b01d4f6ea57last_hot_reload_timeshortpath-2022-06-26-Statistical Computing-3월17일.jlprocess_statusreadypathK/home/runner/work/julia/julia/2022-06-26-Statistical Computing-3월17일.jlpluto_versionv0.19.47last_save_timeA$7˪cell_order`$09cb368b-f689-4c50-adf7-74df18d226dd$f22510af-b047-4e79-8d5d-e8fd11a9eea7$28c74c5b-00ea-4483-951d-5f3ee26fb894$8598e32c-4c84-4065-8d39-110185e6e9a6$9beafe50-2ce1-4626-91fb-b5b1325f0b1c$1821f7e0-2f71-4350-a6ff-6b07ba2e7283$76c5c29f-a90f-478a-9f98-b3afb11eb0ce$30d0741c-8e74-4d38-908c-e0bcfe4fd5ca$931aa1c2-0186-40a6-a3f2-e8e505682c0c$d1353080-c111-459e-818e-6e29ae69a714$2020a56c-563a-435a-a76d-478ecb16d8ab$de6cbedf-99d8-44d0-83ea-818a0a43e47a$ccd9234b-d1a0-4236-ae94-6975c02e3e95$09583a25-c52a-41ef-a43b-3a49521ee05e$7315268d-1678-4106-affc-31dfa85b9a40$d597d9f9-e54a-40ec-a6a7-c4ff43474547$2fea6b1e-e64a-4467-8a13-8f60fe91025a$6dbd192b-efe2-411b-8e72-8b7aa83eedf8$bf5d5442-34fc-4a9a-9efc-9a50b891511b$cbb74ed1-7c47-453f-8ba0-e97456322eb0$9b2fd596-2c96-4a25-bc61-c75237cb6220$6173cba2-c0e1-4fba-89f5-0a9061992bd8$37ea5718-2f38-4944-9c8a-7f07b82bdc80$61eb8c21-3de1-47f2-b520-2b428c4d48e0$a8357633-10c7-4927-a996-469e0933fdf3$6c7458e2-f37f-4170-bc5f-949aecd57ff9$e4e87b59-69e9-44ae-b903-5480248a3c66$ff80c009-5291-4e1c-94a0-cd35eff7cd09$0b17375a-b0e2-4c96-b685-09d972572685$3fd41cb7-1b7e-4a59-80d0-905445333701$82a099f4-f740-4e90-99f4-c1edb3e136eb$7e90058d-a099-4016-9a61-20ae2af8f526$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839$f8cff662-1add-4970-9290-4f034080af1b$8d584d2a-5350-4c80-a5a5-a8423232897e$776c7951-82ed-48be-a4e7-440244f10009$c46eaba7-d9c3-4423-a51c-3519f994ee6f$1d8417c1-dfbb-48fc-aec2-89bd3b30c450$6672098a-e3b6-45f1-a806-78819aa7e9e9$59898c01-4cd4-4cb0-935f-17c3f15646d8$f397f89e-90f3-465a-8239-272fb7679be0$8c3d3c6f-0c62-4550-8051-0afc77d379a7$2591c80c-233f-40e1-9465-a45524d9d069$c67305de-6168-4f92-9ea7-86deeffc9746$f1645b5a-efbe-4612-ab5a-2931bec4c3df$29015797-b08c-4dd9-be8d-e26a2f7b01c0$0f08227c-c6e0-46f2-91fc-5e9f8d44e301$9f336162-5b96-4924-8d12-597d325ee8bf$beae091e-4edd-4afb-819f-070ed46ad322$f6e45891-3d89-4890-aa29-045605b7f1c5$184926cd-3b17-4fd1-b35f-336f451cb142$a97b3d06-94fb-47d6-8096-7cd5f2778b88$1b88cbac-33a9-48a3-afa6-af9fd2d56a3c$9f3994fe-03fc-4b82-936d-cce75e6325cc$33de3890-d7d6-472c-aa98-c925c6bac8d1$891fd391-7cef-4305-bc86-1849f3fd1126$dd6b49c9-2376-465d-a39d-1fb9c3020c05$3a9554c4-f9d9-41a3-b6bf-6aff5966b922$07c6d5f7-0c6e-4991-80ee-4b7862c40e42$ec02f852-1c0a-47ed-8d42-20ae7bc43bbc$e30f919d-4387-49e0-8202-c66e179f5c95$2ee12f8f-e5d7-4292-b568-2a217a453bdb$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49$074402aa-dc21-48b3-8152-8eea32d783a4$ba005ee2-b267-4037-a4c1-0bd3e783104e$c7849d47-b141-43a4-a1d7-e66a125916c3$7a708f2f-0a1b-46f3-89ff-8c766d8824f5$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6$13def20a-7ba6-4c5b-abbd-550d794df1fc$391d8ccf-47b5-4367-b7b1-564c848692bd$9e571983-ccbc-432b-866c-6fb2e5945864$bd051e91-1f2e-4d09-aff1-7031627243b6$8c43a1e1-242f-465c-af55-ea068ead309d$302440cd-fc4d-4d78-9fbe-157ee2ff37e4$ea993fd5-988a-4e5d-b226-1be12df9d0e9$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80$f0b9e3eb-8df2-48b1-a5dd-23216a69912f$d7125ccc-82d6-4b30-a275-68e08f2ddef2$89251ebb-33b6-4324-8db9-ae3d723630e7$e00f7cf7-23a9-44c3-b67d-d934f0b32c5a$d6e31001-5eec-4acb-afd3-c8bb7b822038$c19237ce-0e98-4a20-9e64-e3fe06858578$260a4935-7b4e-4e80-8df2-b85e367fd301$dca32ac5-5403-4660-b5ab-5170e3de39d1$72a9be93-4bba-4fa1-b891-b3143ae5bd43$be8c34b7-e099-451e-9531-547f5690930b$262d6585-c657-4239-83ae-21c54e71005d$7a4c47be-e388-483f-a47f-db5e7c5a52e3$d6ba2b43-7cae-4f5d-8c71-7320e8150a4b$60e4fb10-ec46-4ca8-89a3-0b6e265aebdb$8acede8a-8a46-4c93-8603-9bbe9a3f092c$120291d7-b4c3-47a8-8c10-99382d04df0c$a1915cf5-8f18-4372-b35f-511d606bb387$f5f97e9c-b060-4d47-b239-7b01d4f6ea57published_objectsnbpkginstall_time_ns 65finstantiatedòinstalled_versionsPlutoUI0.7.37Plots1.27.0terminal_outputsnbpkg_syncb Instantiating... ===  Installed Plots ─ v1.27.0 Resolving... ===  No Changes to `/tmp/jl_Za0Lyr/Project.toml`  Updating `/tmp/jl_Za0Lyr/Manifest.toml`  [6e34b625] ↑ Bzip2_jll v1.0.8+0 ⇒ v1.0.8+4  [3b182d85] ↑ Graphite2_jll v1.3.14+0 ⇒ v1.3.14+1  [e9f186c6] ↑ Libffi_jll v3.2.2+1 ⇒ v3.2.2+2  [94ce4f54] ↑ Libiconv_jll v1.16.1+1 ⇒ v1.16.1+2  [ea2cea3b] ↑ Qt5Base_jll v5.15.3+1 ⇒ v5.15.3+2  [b53b4c65] ↑ libpng_jll v1.6.38+0 ⇒ v1.6.38+1  [f27f6e37] ↑ libvorbis_jll v1.3.7+1 ⇒ v1.3.7+2  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_Za0Lyr` Precompiling project... 1 dependency successfully precompiled in 35 seconds (132 already precompiled)PlutoUIb Instantiating... ===  Installed Plots ─ v1.27.0 Resolving... ===  No Changes to `/tmp/jl_Za0Lyr/Project.toml`  Updating `/tmp/jl_Za0Lyr/Manifest.toml`  [6e34b625] ↑ Bzip2_jll v1.0.8+0 ⇒ v1.0.8+4  [3b182d85] ↑ Graphite2_jll v1.3.14+0 ⇒ v1.3.14+1  [e9f186c6] ↑ Libffi_jll v3.2.2+1 ⇒ v3.2.2+2  [94ce4f54] ↑ Libiconv_jll v1.16.1+1 ⇒ v1.16.1+2  [ea2cea3b] ↑ Qt5Base_jll v5.15.3+1 ⇒ v5.15.3+2  [b53b4c65] ↑ libpng_jll v1.6.38+0 ⇒ v1.6.38+1  [f27f6e37] ↑ libvorbis_jll v1.3.7+1 ⇒ v1.3.7+2  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_Za0Lyr` Precompiling project... 1 dependency successfully precompiled in 35 seconds (132 already precompiled)Plotsb Instantiating... ===  Installed Plots ─ v1.27.0 Resolving... ===  No Changes to `/tmp/jl_Za0Lyr/Project.toml`  Updating `/tmp/jl_Za0Lyr/Manifest.toml`  [6e34b625] ↑ Bzip2_jll v1.0.8+0 ⇒ v1.0.8+4  [3b182d85] ↑ Graphite2_jll v1.3.14+0 ⇒ v1.3.14+1  [e9f186c6] ↑ Libffi_jll v3.2.2+1 ⇒ v3.2.2+2  [94ce4f54] ↑ Libiconv_jll v1.16.1+1 ⇒ v1.16.1+2  [ea2cea3b] ↑ Qt5Base_jll v5.15.3+1 ⇒ v5.15.3+2  [b53b4c65] ↑ libpng_jll v1.6.38+0 ⇒ v1.6.38+1  [f27f6e37] ↑ libvorbis_jll v1.3.7+1 ⇒ v1.3.7+2  [7b1f6079] + FileWatching Precompiling... ===  Activating project at `/tmp/jl_Za0Lyr` Precompiling project... 1 dependency successfully precompiled in 35 seconds (132 already precompiled)enabled÷restart_recommended_msgrestart_required_msgbusy_packageswaiting_for_permission,waiting_for_permission_but_probably_disabled«cell_inputs`$120291d7-b4c3-47a8-8c10-99382d04df0ccell_id$120291d7-b4c3-47a8-8c10-99382d04df0ccodemd""" ## 숙제 초항이 2이고 공차가 3인 수열을 점화식의 형태로 정의하여 보라. 1항부터 10항지의 출력결과를 시각화하라. hint (1) $a_1=2$ (2) $a_n= a_{n-1}+3$ """metadatashow_logsèdisabled®skip_as_script«code_folded$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49cell_id$8c2e4b4c-7f8a-4d70-8bb4-d543e5703f49code8md""" ##### 파이프연산자와 브로드캐스트 """metadatashow_logsèdisabled®skip_as_script«code_folded$d6e31001-5eec-4acb-afd3-c8bb7b822038cell_id$d6e31001-5eec-4acb-afd3-c8bb7b822038code(n -> 2n-1)(3)metadatashow_logsèdisabled®skip_as_script«code_folded$e00f7cf7-23a9-44c3-b67d-d934f0b32c5acell_id$e00f7cf7-23a9-44c3-b67d-d934f0b32c5acode(n -> 2n-1)(1)metadatashow_logsèdisabled®skip_as_script«code_folded$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839cell_id$f5b750b6-b09b-4b02-a6a2-b3bc71b9b839codemd"(학생풀이2)"metadatashow_logsèdisabled®skip_as_script«code_folded$de6cbedf-99d8-44d0-83ea-818a0a43e47acell_id$de6cbedf-99d8-44d0-83ea-818a0a43e47acodez # z=3 이 아니라 z=0임 metadatashow_logsèdisabled®skip_as_script«code_folded$d1353080-c111-459e-818e-6e29ae69a714cell_id$d1353080-c111-459e-818e-6e29ae69a714codeٚfunction f(z) return z+100 # 위에서 선언한 z를 여기에서 또 사용할수 있다? ==> 여기의 z는 이 함수에서만 효력이 있음 endmetadatashow_logsèdisabled®skip_as_script«code_folded$d7125ccc-82d6-4b30-a275-68e08f2ddef2cell_id$d7125ccc-82d6-4b30-a275-68e08f2ddef2codeلmd""" 이걸 왜 하는가? 일반적인 수열과 다르게 일반항형태(=함수의형태)로 표현하기 어려운 수열 """metadatashow_logsèdisabled®skip_as_script«code_folded$260a4935-7b4e-4e80-8df2-b85e367fd301cell_id$260a4935-7b4e-4e80-8df2-b85e367fd301codemd""" [예비학습2] if문 """metadatashow_logsèdisabled®skip_as_script«code_folded$13def20a-7ba6-4c5b-abbd-550d794df1fccell_id$13def20a-7ba6-4c5b-abbd-550d794df1fccode0md""" `-` 원래는 이렇게 써야한다.. """metadatashow_logsèdisabled®skip_as_script«code_folded$184926cd-3b17-4fd1-b35f-336f451cb142cell_id$184926cd-3b17-4fd1-b35f-336f451cb142code*(2,3)metadatashow_logsèdisabled®skip_as_script«code_folded$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94cell_id$7eff8d1c-1ed5-4bc0-abd2-5cf9b0e63a94code0.5 |> x -> x-1 |> x -> x^2metadatashow_logsèdisabled®skip_as_script«code_folded$cbb74ed1-7c47-453f-8ba0-e97456322eb0cell_id$cbb74ed1-7c47-453f-8ba0-e97456322eb0code'plot(x,g.(x)) # 이게 중요합니다.metadatashow_logsèdisabled®skip_as_script«code_folded$a97b3d06-94fb-47d6-8096-7cd5f2778b88cell_id$a97b3d06-94fb-47d6-8096-7cd5f2778b88codemyadd = + metadatashow_logsèdisabled®skip_as_script«code_folded$2020a56c-563a-435a-a76d-478ecb16d8abcell_id$2020a56c-563a-435a-a76d-478ecb16d8abcodef(3)metadatashow_logsèdisabled®skip_as_script«code_folded$6c7458e2-f37f-4170-bc5f-949aecd57ff9cell_id$6c7458e2-f37f-4170-bc5f-949aecd57ff9code%md"! 붙여서 plot 겹쳐 그리기"metadatashow_logsèdisabled®skip_as_script«code_folded$3a9554c4-f9d9-41a3-b6bf-6aff5966b922cell_id$3a9554c4-f9d9-41a3-b6bf-6aff5966b922codeEmd"연산자는 연산자 앞에 . 붙이기 아래 루트의 경우"metadatashow_logsèdisabled®skip_as_script«code_folded$3fd41cb7-1b7e-4a59-80d0-905445333701cell_id$3fd41cb7-1b7e-4a59-80d0-905445333701code#plot(x, x .|> x -> x-1 .|> x-> x^2)metadatashow_logsèdisabled®skip_as_script«code_folded$f0b9e3eb-8df2-48b1-a5dd-23216a69912fcell_id$f0b9e3eb-8df2-48b1-a5dd-23216a69912fcodeAmd""" ### 예제: 피보나치수열을 정의하여 보자. """metadatashow_logsèdisabled®skip_as_script«code_folded$bf5d5442-34fc-4a9a-9efc-9a50b891511bcell_id$bf5d5442-34fc-4a9a-9efc-9a50b891511bcode[1,2].+3metadatashow_logsèdisabled®skip_as_script«code_folded$30d0741c-8e74-4d38-908c-e0bcfe4fd5cacell_id$30d0741c-8e74-4d38-908c-e0bcfe4fd5cacode#md"[예비학습] 변수의 범위"metadatashow_logsèdisabled®skip_as_script«code_folded$ba005ee2-b267-4037-a4c1-0bd3e783104ecell_id$ba005ee2-b267-4037-a4c1-0bd3e783104ecode[0,0.5] |> x -> x-1 |> x -> x^2metadatashow_logsèdisabled®skip_as_script«code_folded$8c43a1e1-242f-465c-af55-ea068ead309dcell_id$8c43a1e1-242f-465c-af55-ea068ead309dcode@. sqrt(0:0.5:2)metadatashow_logsèdisabled®skip_as_script«code_folded$776c7951-82ed-48be-a4e7-440244f10009cell_id$776c7951-82ed-48be-a4e7-440244f10009codeh(-1)(1)metadatashow_logsèdisabled®skip_as_script«code_folded$1b88cbac-33a9-48a3-afa6-af9fd2d56a3ccell_id$1b88cbac-33a9-48a3-afa6-af9fd2d56a3ccodemyadd(1,3)metadatashow_logsèdisabled®skip_as_script«code_folded$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6cell_id$e2304bf3-34f5-4def-a6a2-c6a6114b3ca6code,md""" (팁) 브로드캐스팅의 생략 """metadatashow_logsèdisabled®skip_as_script«code_folded$c19237ce-0e98-4a20-9e64-e3fe06858578cell_id$c19237ce-0e98-4a20-9e64-e3fe06858578codewmd""" [예비학습] 피보나치수열의 정의 (1) $a_1=a_2=1$ (2) $n\geq 3$일 경우 $a_n=a_{n-1}+a_{n-2}$ """metadatashow_logsèdisabled®skip_as_script«code_folded$7e90058d-a099-4016-9a61-20ae2af8f526cell_id$7e90058d-a099-4016-9a61-20ae2af8f526code"g_lee = (x -> x.^2) ∘ (x-> x.-1)metadatashow_logsèdisabled®skip_as_script«code_folded$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80cell_id$2426e9ce-ae9f-4f19-9eb4-5b9a4895fe80code/@. 0:0.5:2 |> x-> x-1 |> x-> x^2 |> sin |> cos metadatashow_logsèdisabled®skip_as_script«code_folded$9beafe50-2ce1-4626-91fb-b5b1325f0b1ccell_id$9beafe50-2ce1-4626-91fb-b5b1325f0b1ccodeusing PlutoUI,Plotsmetadatashow_logsèdisabled®skip_as_script«code_folded$931aa1c2-0186-40a6-a3f2-e8e505682c0ccell_id$931aa1c2-0186-40a6-a3f2-e8e505682c0ccodez=0metadatashow_logsèdisabled®skip_as_script«code_folded$8d584d2a-5350-4c80-a5a5-a8423232897ecell_id$8d584d2a-5350-4c80-a5a5-a8423232897ecodeh(1)metadatashow_logsèdisabled®skip_as_script«code_folded$9e571983-ccbc-432b-866c-6fb2e5945864cell_id$9e571983-ccbc-432b-866c-6fb2e5945864code.√(0:0.5:2)metadatashow_logsèdisabled®skip_as_script«code_folded$ea993fd5-988a-4e5d-b226-1be12df9d0e9cell_id$ea993fd5-988a-4e5d-b226-1be12df9d0e9code @. 0:0.5:2 |> x-> x-1 |> x-> x^2metadatashow_logsèdisabled®skip_as_script«code_folded$7a4c47be-e388-483f-a47f-db5e7c5a52e3cell_id$7a4c47be-e388-483f-a47f-db5e7c5a52e3code,dd==5 ? println("5얌") : println("5아님")metadatashow_logsèdisabled®skip_as_script«code_folded$7a708f2f-0a1b-46f3-89ff-8c766d8824f5cell_id$7a708f2f-0a1b-46f3-89ff-8c766d8824f5code#1:4 .|> [x -> x-100, inv, x->3x, -]metadatashow_logsèdisabled®skip_as_script«code_folded$a8357633-10c7-4927-a996-469e0933fdf3cell_id$a8357633-10c7-4927-a996-469e0933fdf3codemd"(풀이3의 응용)"metadatashow_logsèdisabled®skip_as_script«code_folded$074402aa-dc21-48b3-8152-8eea32d783a4cell_id$074402aa-dc21-48b3-8152-8eea32d783a4code![0,0.5] .|> x -> x-1 .|> x -> x^2metadatashow_logsèdisabled®skip_as_script«code_folded$6dbd192b-efe2-411b-8e72-8b7aa83eedf8cell_id$6dbd192b-efe2-411b-8e72-8b7aa83eedf8code[1,2]+3metadatashow_logsèdisabled®skip_as_script«code_folded$bd051e91-1f2e-4d09-aff1-7031627243b6cell_id$bd051e91-1f2e-4d09-aff1-7031627243b6codermd""" `-` 그런데 @.를 앞에 붙이면 모든 연산자, 함수는 브로드캐스팅으로 생각한다. """metadatashow_logsèdisabled®skip_as_script«code_folded$f5f97e9c-b060-4d47-b239-7b01d4f6ea57cell_id$f5f97e9c-b060-4d47-b239-7b01d4f6ea57codescatter(1:10,aa)metadatashow_logsèdisabled®skip_as_script«code_folded$e30f919d-4387-49e0-8202-c66e179f5c95cell_id$e30f919d-4387-49e0-8202-c66e179f5c95code٩md""" ##### 파이프연산자의 기본 - `x |> f` 는 `f(x)` 와 같다. - `x |> f |> g`는 `g(f(x))`와 같다. - `x |> f |> g |> h`는 `h(g(f(x)))`와 같다. """metadatashow_logsèdisabled®skip_as_script«code_folded$f6e45891-3d89-4890-aa29-045605b7f1c5cell_id$f6e45891-3d89-4890-aa29-045605b7f1c5code+(2,3)metadatashow_logsèdisabled®skip_as_script«code_folded$28c74c5b-00ea-4483-951d-5f3ee26fb894cell_id$28c74c5b-00ea-4483-951d-5f3ee26fb894codemd""" ## Usings """metadatashow_logsèdisabled®skip_as_script«code_folded$8598e32c-4c84-4065-8d39-110185e6e9a6cell_id$8598e32c-4c84-4065-8d39-110185e6e9a6codePlutoUI.TableOfContents()metadatashow_logsèdisabled®skip_as_script«code_folded$0b17375a-b0e2-4c96-b685-09d972572685cell_id$0b17375a-b0e2-4c96-b685-09d972572685codexmetadatashow_logsèdisabled®skip_as_script«code_folded$59898c01-4cd4-4cb0-935f-17c3f15646d8cell_id$59898c01-4cd4-4cb0-935f-17c3f15646d8codeplot(x,h(x))metadatashow_logsèdisabled®skip_as_script«code_folded$c67305de-6168-4f92-9ea7-86deeffc9746cell_id$c67305de-6168-4f92-9ea7-86deeffc9746code_h(0.1)(100)metadatashow_logsèdisabled®skip_as_script«code_folded$33de3890-d7d6-472c-aa98-c925c6bac8d1cell_id$33de3890-d7d6-472c-aa98-c925c6bac8d1codesin(0:0.01:2π)metadatashow_logsèdisabled®skip_as_script«code_folded$82a099f4-f740-4e90-99f4-c1edb3e136ebcell_id$82a099f4-f740-4e90-99f4-c1edb3e136ebcodemd"(학생풀이1)"metadatashow_logsèdisabled®skip_as_script«code_folded$37ea5718-2f38-4944-9c8a-7f07b82bdc80cell_id$37ea5718-2f38-4944-9c8a-7f07b82bdc80codeplot(g,x)metadatashow_logsèdisabled®skip_as_script«code_folded$f8cff662-1add-4970-9290-4f034080af1bcell_id$f8cff662-1add-4970-9290-4f034080af1bcodeهh(x) = (x -> x^2) ∘ (x-> x-1) # h(x) = 2x +1 # 입력이 x, 출력은 (x -> x^2) ∘ (x-> x-1) 인 함수 = 함수를 뱉는 함수 metadatashow_logsèdisabled®skip_as_script«code_folded$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbcell_id$60e4fb10-ec46-4ca8-89a3-0b6e265aebdbcode"a(n) = n ≤ 2 ? 1 : a(n-1)+a(n-2)metadatashow_logsèdisabled®skip_as_script«code_folded$6173cba2-c0e1-4fba-89f5-0a9061992bd8cell_id$6173cba2-c0e1-4fba-89f5-0a9061992bd8codeplot(x,g)metadatashow_logsèdisabled®skip_as_script«code_folded$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550cell_id$fe7616c5-e93c-4f2a-9dcb-69f2ab73f550codeplot(x,g_lee(x))metadatashow_logsèdisabled®skip_as_script«code_folded$891fd391-7cef-4305-bc86-1849f3fd1126cell_id$891fd391-7cef-4305-bc86-1849f3fd1126codesin.(0:0.01:2π)metadatashow_logsèdisabled®skip_as_script«code_folded$302440cd-fc4d-4d78-9fbe-157ee2ff37e4cell_id$302440cd-fc4d-4d78-9fbe-157ee2ff37e4code@. √(0:0.5:2)metadatashow_logsèdisabled®skip_as_script«code_folded$a1915cf5-8f18-4372-b35f-511d606bb387cell_id$a1915cf5-8f18-4372-b35f-511d606bb387code!aa(nn) = nn == 1 ? 2 : aa(nn-1)+3metadatashow_logsèdisabled®skip_as_script«code_folded$09cb368b-f689-4c50-adf7-74df18d226ddcell_id$09cb368b-f689-4c50-adf7-74df18d226ddcodemd""" # 3월17일 """metadatashow_logsèdisabled®skip_as_script«code_folded$ccd9234b-d1a0-4236-ae94-6975c02e3e95cell_id$ccd9234b-d1a0-4236-ae94-6975c02e3e95code&md"(풀이1: 제가 의도한 풀이)"metadatashow_logsèdisabled®skip_as_script«code_folded$2591c80c-233f-40e1-9465-a45524d9d069cell_id$2591c80c-233f-40e1-9465-a45524d9d069code,_h(x) = if x>0 x -> x+1 else x -> -x+1 end metadatashow_logsèdisabled®skip_as_script«code_folded$beae091e-4edd-4afb-819f-070ed46ad322cell_id$beae091e-4edd-4afb-819f-070ed46ad322code(md"### 연산자는 사실 함수였음"metadatashow_logsèdisabled®skip_as_script«code_folded$c7849d47-b141-43a4-a1d7-e66a125916c3cell_id$c7849d47-b141-43a4-a1d7-e66a125916c3code>md""" ##### 파이프연산자와 브로드캐스트 ver2 """metadatashow_logsèdisabled®skip_as_script«code_folded$ff80c009-5291-4e1c-94a0-cd35eff7cd09cell_id$ff80c009-5291-4e1c-94a0-cd35eff7cd09code0md""" (풀이4) 파이프연산자를 이용 """metadatashow_logsèdisabled®skip_as_script«code_folded$f397f89e-90f3-465a-8239-272fb7679be0cell_id$f397f89e-90f3-465a-8239-272fb7679be0codeplot(x,h(0))metadatashow_logsèdisabled®skip_as_script«code_folded$f1645b5a-efbe-4612-ab5a-2931bec4c3dfcell_id$f1645b5a-efbe-4612-ab5a-2931bec4c3dfcode_h(-0.1)(100)metadatashow_logsèdisabled®skip_as_script«code_folded$dd6b49c9-2376-465d-a39d-1fb9c3020c05cell_id$dd6b49c9-2376-465d-a39d-1fb9c3020c05codeHplot(0:0.01:2π, sin.(0:0.01:2π)); plot!(0:0.01:2π, sqrt.(0:0.01:2π))metadatashow_logsèdisabled®skip_as_script«code_folded$be8c34b7-e099-451e-9531-547f5690930bcell_id$be8c34b7-e099-451e-9531-547f5690930bcodeNif n <= 2 println("2보다작거나같음") else println("2보다큼") endmetadatashow_logsèdisabled®skip_as_script«code_folded$72a9be93-4bba-4fa1-b891-b3143ae5bd43cell_id$72a9be93-4bba-4fa1-b891-b3143ae5bd43codeFn≤2 ? println("2보다작거나같음") : println("2보다큼") # ifmetadatashow_logsèdisabled®skip_as_script«code_folded$8acede8a-8a46-4c93-8603-9bbe9a3f092ccell_id$8acede8a-8a46-4c93-8603-9bbe9a3f092ccodescatter(1:8,a)metadatashow_logsèdisabled®skip_as_script«code_folded$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bcell_id$d6ba2b43-7cae-4f5d-8c71-7320e8150a4bcodemd""" (풀이) """metadatashow_logsèdisabled®skip_as_script«code_folded$ec02f852-1c0a-47ed-8d42-20ae7bc43bbccell_id$ec02f852-1c0a-47ed-8d42-20ae7bc43bbccode md""" ### 파이프연산자 """metadatashow_logsèdisabled®skip_as_script«code_folded$d597d9f9-e54a-40ec-a6a7-c4ff43474547cell_id$d597d9f9-e54a-40ec-a6a7-c4ff43474547codeplot(x,y)metadatashow_logsèdisabled®skip_as_script«code_folded$dca32ac5-5403-4660-b5ab-5170e3de39d1cell_id$dca32ac5-5403-4660-b5ab-5170e3de39d1code%@bind n Slider(1:10, show_value=true)metadatashow_logsèdisabled®skip_as_script«code_folded$9b2fd596-2c96-4a25-bc61-c75237cb6220cell_id$9b2fd596-2c96-4a25-bc61-c75237cb6220codemd"(풀이3)"metadatashow_logsèdisabled®skip_as_script«code_folded$9f3994fe-03fc-4b82-936d-cce75e6325cccell_id$9f3994fe-03fc-4b82-936d-cce75e6325cccodemd"### 브로드캐스팅"metadatashow_logsèdisabled®skip_as_script«code_folded$c46eaba7-d9c3-4423-a51c-3519f994ee6fcell_id$c46eaba7-d9c3-4423-a51c-3519f994ee6fcodeh(1)(1)metadatashow_logsèdisabled®skip_as_script«code_folded$29015797-b08c-4dd9-be8d-e26a2f7b01c0cell_id$29015797-b08c-4dd9-be8d-e26a2f7b01c0code$plot(_h(1),-2,2); plot!(_h(-1),-2,2)metadatashow_logsèdisabled®skip_as_script«code_folded$0f08227c-c6e0-46f2-91fc-5e9f8d44e301cell_id$0f08227c-c6e0-46f2-91fc-5e9f8d44e301code2md"위처럼 range를 넣어줘도 plot 그려짐"metadatashow_logsèdisabled®skip_as_script«code_folded$262d6585-c657-4239-83ae-21c54e71005dcell_id$262d6585-c657-4239-83ae-21c54e71005dcode%@bind dd Slider(1:10,show_value=true)metadatashow_logsèdisabled®skip_as_script«code_folded$2ee12f8f-e5d7-4292-b568-2a217a453bdbcell_id$2ee12f8f-e5d7-4292-b568-2a217a453bdbcode0 |> x -> x-1 |> x -> x^2metadatashow_logsèdisabled®skip_as_script«code_folded$89251ebb-33b6-4324-8db9-ae3d723630e7cell_id$89251ebb-33b6-4324-8db9-ae3d723630e7codeQn -> 2n-1 # 초항이 1이고 공차가 2인 등차수열을 정의하는 함수metadatashow_logsèdisabled®skip_as_script«code_folded$7315268d-1678-4106-affc-31dfa85b9a40cell_id$7315268d-1678-4106-affc-31dfa85b9a40code&x=-1:0.1:3; y=[g(x) for x in -1:0.1:3]metadatashow_logsèdisabled®skip_as_script«code_folded$391d8ccf-47b5-4367-b7b1-564c848692bdcell_id$391d8ccf-47b5-4367-b7b1-564c848692bdcodesqrt.(0:0.5:2)metadatashow_logsèdisabled®skip_as_script«code_folded$1d8417c1-dfbb-48fc-aec2-89bd3b30c450cell_id$1d8417c1-dfbb-48fc-aec2-89bd3b30c450codeh(x)(1)metadatashow_logsèdisabled®skip_as_script«code_folded$f22510af-b047-4e79-8d5d-e8fd11a9eea7cell_id$f22510af-b047-4e79-8d5d-e8fd11a9eea7codevhtml"""
"""metadatashow_logsèdisabled®skip_as_script«code_folded$76c5c29f-a90f-478a-9f98-b3afb11eb0cecell_id$76c5c29f-a90f-478a-9f98-b3afb11eb0cecodemd"## 숙제풀이"metadatashow_logsèdisabled®skip_as_script«code_folded$e4e87b59-69e9-44ae-b903-5480248a3c66cell_id$e4e87b59-69e9-44ae-b903-5480248a3c66code0plot(x,sin); plot!(x,cos); plot!(x, x-> (x-1)^2)metadatashow_logsèdisabled®skip_as_script«code_folded$9f336162-5b96-4924-8d12-597d325ee8bfcell_id$9f336162-5b96-4924-8d12-597d325ee8bfcodemd"## 함수고급"metadatashow_logsèdisabled®skip_as_script«code_folded$2fea6b1e-e64a-4467-8a13-8f60fe91025acell_id$2fea6b1e-e64a-4467-8a13-8f60fe91025acodemd"(풀이2)"metadatashow_logsèdisabled®skip_as_script«code_folded$09583a25-c52a-41ef-a43b-3a49521ee05ecell_id$09583a25-c52a-41ef-a43b-3a49521ee05ecodeg = (x -> x^2) ∘ (x -> x-1)metadatashow_logsèdisabled®skip_as_script«code_folded$61eb8c21-3de1-47f2-b520-2b428c4d48e0cell_id$61eb8c21-3de1-47f2-b520-2b428c4d48e0code!plot(x,(x -> x^2) ∘ (x -> x-1))metadatashow_logsèdisabled®skip_as_script«code_folded$8c3d3c6f-0c62-4550-8051-0afc77d379a7cell_id$8c3d3c6f-0c62-4550-8051-0afc77d379a7codemd"(함수를 뱉는 함수)"metadatashow_logsèdisabled®skip_as_script«code_folded$6672098a-e3b6-45f1-a806-78819aa7e9e9cell_id$6672098a-e3b6-45f1-a806-78819aa7e9e9codeh(x)(2)metadatashow_logsèdisabled®skip_as_script«code_folded$1821f7e0-2f71-4350-a6ff-6b07ba2e7283cell_id$1821f7e0-2f71-4350-a6ff-6b07ba2e7283codePlots.plotly()metadatashow_logsèdisabled®skip_as_script«code_folded$07c6d5f7-0c6e-4991-80ee-4b7862c40e42cell_id$07c6d5f7-0c6e-4991-80ee-4b7862c40e42codeGplot(0:0.01:2π, sin.(0:0.01:2π)); plot!(0:0.01:2π, .√(0:0.01:2π))metadatashow_logsèdisabled®skip_as_script«code_folded«notebook_id$55532aae-e476-11ef-1d41-25934637b0e3in_temp_dir¨metadata